1 22 23 package org.jboss.resource.deployment.ds.metadata; 24 25 26 32 public class SqlSupportMetaData implements DsElementMetaData 33 { 34 35 36 private static final long serialVersionUID = 7760999544938547262L; 37 38 39 private String newConnectionSql; 40 41 42 private String checkValidConnectionSql; 43 44 45 private String validConnectionCheckerClassName; 46 47 48 private String exceptionSorterClassName; 49 50 51 private int preparedStatementCacheSize; 52 53 54 private boolean trackStatements; 55 56 57 private boolean trackStatementsNoWarn; 58 59 60 private boolean shareStatements; 61 62 63 private boolean validateOnMatch; 64 65 66 private int queryTimeout; 67 68 69 private boolean setTxQueryTimeout; 70 71 72 public boolean isSetTxQueryTimeout() 73 { 74 return setTxQueryTimeout; 75 } 76 77 public void setTxQueryTimeout(boolean setTxQueryTimeout) 78 { 79 this.setTxQueryTimeout = setTxQueryTimeout; 80 } 81 82 public int getPreparedStatementCacheSize() 83 { 84 return preparedStatementCacheSize; 85 } 86 87 public void setPreparedStatementCacheSize(int preparedStatementCacheSize) 88 { 89 this.preparedStatementCacheSize = preparedStatementCacheSize; 90 } 91 92 public boolean isShareStatements() 93 { 94 return shareStatements; 95 } 96 97 public void setShareStatements(boolean shareStatements) 98 { 99 this.shareStatements = shareStatements; 100 } 101 102 public boolean isTrackStatements() 103 { 104 return trackStatements; 105 } 106 107 public void setTrackStatements(boolean trackStatements) 108 { 109 this.trackStatements = trackStatements; 110 } 111 112 117 public String getCheckValidConnectionSql() 118 { 119 return checkValidConnectionSql; 120 } 121 122 127 public void setCheckValidConnectionSql(String checkValidConnectionSql) 128 { 129 this.checkValidConnectionSql = checkValidConnectionSql; 130 } 131 132 137 public String getExceptionSorterClassName() 138 { 139 return exceptionSorterClassName; 140 } 141 142 147 public void setExceptionSorterClassName(String exceptionSorterClassName) 148 { 149 this.exceptionSorterClassName = exceptionSorterClassName; 150 } 151 152 157 public String getNewConnectionSql() 158 { 159 return newConnectionSql; 160 } 161 162 167 public void setNewConnectionSql(String newConnectionSql) 168 { 169 this.newConnectionSql = newConnectionSql; 170 } 171 172 177 public String getValidConnectionCheckerClassName() 178 { 179 return validConnectionCheckerClassName; 180 } 181 182 187 public void setValidConnectionCheckerClassName(String validConnectionCheckerClassName) 188 { 189 this.validConnectionCheckerClassName = validConnectionCheckerClassName; 190 } 191 192 public boolean isValidateOnMatch() 193 { 194 return validateOnMatch; 195 } 196 197 public void setValidateOnMatch(boolean validateOnMatch) 198 { 199 this.validateOnMatch = validateOnMatch; 200 } 201 202 public int getQueryTimeout() 203 { 204 return queryTimeout; 205 } 206 207 public void setQueryTimeout(int queryTimeout) 208 { 209 this.queryTimeout = queryTimeout; 210 } 211 212 public boolean isTrackStatementsNoWarn() 213 { 214 return trackStatementsNoWarn; 215 } 216 217 public void setTrackStatementsNoWarn(boolean trackStatementsNoWarn) 218 { 219 this.trackStatementsNoWarn = trackStatementsNoWarn; 220 } 221 222 223 224 } 225 | Popular Tags |