| 1 22 23 24 package com.mchange.v2.sql.filter; 25 26 import java.lang.String ; 27 import java.sql.Connection ; 28 import java.sql.DatabaseMetaData ; 29 import java.sql.ResultSet ; 30 import java.sql.SQLException ; 31 32 public abstract class SynchronizedFilterDatabaseMetaData implements DatabaseMetaData  33 { 34 protected DatabaseMetaData inner; 35 36 public SynchronizedFilterDatabaseMetaData(DatabaseMetaData inner) 37 { this.inner = inner; } 38 39 public SynchronizedFilterDatabaseMetaData() 40 {} 41 42 public synchronized void setInner( DatabaseMetaData inner ) 43 { this.inner = inner; } 44 45 public synchronized DatabaseMetaData getInner() 46 { return inner; } 47 48 public synchronized boolean allProceduresAreCallable() throws SQLException  49 { return inner.allProceduresAreCallable(); } 50 51 public synchronized boolean allTablesAreSelectable() throws SQLException  52 { return inner.allTablesAreSelectable(); } 53 54 public synchronized boolean nullsAreSortedHigh() throws SQLException  55 { return inner.nullsAreSortedHigh(); } 56 57 public synchronized boolean nullsAreSortedLow() throws SQLException  58 { return inner.nullsAreSortedLow(); } 59 60 public synchronized boolean nullsAreSortedAtStart() throws SQLException  61 { return inner.nullsAreSortedAtStart(); } 62 63 public synchronized boolean nullsAreSortedAtEnd() throws SQLException  64 { return inner.nullsAreSortedAtEnd(); } 65 66 public synchronized String getDatabaseProductName() throws SQLException  67 { return inner.getDatabaseProductName(); } 68 69 public synchronized String getDatabaseProductVersion() throws SQLException  70 { return inner.getDatabaseProductVersion(); } 71 72 public synchronized String getDriverName() throws SQLException  73 { return inner.getDriverName(); } 74 75 public synchronized String getDriverVersion() throws SQLException  76 { return inner.getDriverVersion(); } 77 78 public synchronized int getDriverMajorVersion() 79 { return inner.getDriverMajorVersion(); } 80 81 public synchronized int getDriverMinorVersion() 82 { return inner.getDriverMinorVersion(); } 83 84 public synchronized boolean usesLocalFiles() throws SQLException  85 { return inner.usesLocalFiles(); } 86 87 public synchronized boolean usesLocalFilePerTable() throws SQLException  88 { return inner.usesLocalFilePerTable(); } 89 90 public synchronized boolean supportsMixedCaseIdentifiers() throws SQLException  91 { return inner.supportsMixedCaseIdentifiers(); } 92 93 public synchronized boolean storesUpperCaseIdentifiers() throws SQLException  94 { return inner.storesUpperCaseIdentifiers(); } 95 96 public synchronized boolean storesLowerCaseIdentifiers() throws SQLException  97 { return inner.storesLowerCaseIdentifiers(); } 98 99 public synchronized boolean storesMixedCaseIdentifiers() throws SQLException  100 { return inner.storesMixedCaseIdentifiers(); } 101 102 public synchronized boolean supportsMixedCaseQuotedIdentifiers() throws SQLException  103 { return inner.supportsMixedCaseQuotedIdentifiers(); } 104 105 public synchronized boolean storesUpperCaseQuotedIdentifiers() throws SQLException  106 { return inner.storesUpperCaseQuotedIdentifiers(); } 107 108 public synchronized boolean storesLowerCaseQuotedIdentifiers() throws SQLException  109 { return inner.storesLowerCaseQuotedIdentifiers(); } 110 111 public synchronized boolean storesMixedCaseQuotedIdentifiers() throws SQLException  112 { return inner.storesMixedCaseQuotedIdentifiers(); } 113 114 public synchronized String getIdentifierQuoteString() throws SQLException  115 { return inner.getIdentifierQuoteString(); } 116 117 public synchronized String getSQLKeywords() throws SQLException  118 { return inner.getSQLKeywords(); } 119 120 public synchronized String getNumericFunctions() throws SQLException  121 { return inner.getNumericFunctions(); } 122 123 public synchronized String getStringFunctions() throws SQLException  124 { return inner.getStringFunctions(); } 125 126 public synchronized String getSystemFunctions() throws SQLException  127 { return inner.getSystemFunctions(); } 128 129 public synchronized String getTimeDateFunctions() throws SQLException  130 { return inner.getTimeDateFunctions(); } 131 132 public synchronized String getSearchStringEscape() throws SQLException  133 { return inner.getSearchStringEscape(); } 134 135 public synchronized String getExtraNameCharacters() throws SQLException  136 { return inner.getExtraNameCharacters(); } 137 138 public synchronized boolean supportsAlterTableWithAddColumn() throws SQLException  139 { return inner.supportsAlterTableWithAddColumn(); } 140 141 public synchronized boolean supportsAlterTableWithDropColumn() throws SQLException  142 { return inner.supportsAlterTableWithDropColumn(); } 143 144 public synchronized boolean supportsColumnAliasing() throws SQLException  145 { return inner.supportsColumnAliasing(); } 146 147 public synchronized boolean nullPlusNonNullIsNull() throws SQLException  148 { return inner.nullPlusNonNullIsNull(); } 149 150 public synchronized boolean supportsConvert() throws SQLException  151 { return inner.supportsConvert(); } 152 153 public synchronized boolean supportsConvert(int a, int b) throws SQLException  154 { return inner.supportsConvert(a, b); } 155 156 public synchronized boolean supportsTableCorrelationNames() throws SQLException  157 { return inner.supportsTableCorrelationNames(); } 158 159 public synchronized boolean supportsDifferentTableCorrelationNames() throws SQLException  160 { return inner.supportsDifferentTableCorrelationNames(); } 161 162 public synchronized boolean supportsExpressionsInOrderBy() throws SQLException  163 { return inner.supportsExpressionsInOrderBy(); } 164 165 public synchronized boolean supportsOrderByUnrelated() throws SQLException  166 { return inner.supportsOrderByUnrelated(); } 167 168 public synchronized boolean supportsGroupBy() throws SQLException  169 { return inner.supportsGroupBy(); } 170 171 public synchronized boolean supportsGroupByUnrelated() throws SQLException  172 { return inner.supportsGroupByUnrelated(); } 173 174 public synchronized boolean supportsGroupByBeyondSelect() throws SQLException  175 { return inner.supportsGroupByBeyondSelect(); } 176 177 public synchronized boolean supportsLikeEscapeClause() throws SQLException  178 { return inner.supportsLikeEscapeClause(); } 179 180 public synchronized boolean supportsMultipleResultSets() throws SQLException  181 { return inner.supportsMultipleResultSets(); } 182 183 public synchronized boolean supportsMultipleTransactions() throws SQLException  184 { return inner.supportsMultipleTransactions(); } 185 186 public synchronized boolean supportsNonNullableColumns() throws SQLException  187 { return inner.supportsNonNullableColumns(); } 188 189 public synchronized boolean supportsMinimumSQLGrammar() throws SQLException  190 { return inner.supportsMinimumSQLGrammar(); } 191 192 public synchronized boolean supportsCoreSQLGrammar() throws SQLException  193 { return inner.supportsCoreSQLGrammar(); } 194 195 public synchronized boolean supportsExtendedSQLGrammar() throws SQLException  196 { return inner.supportsExtendedSQLGrammar(); } 197 198 public synchronized boolean supportsANSI92EntryLevelSQL() throws SQLException  199 { return inner.supportsANSI92EntryLevelSQL(); } 200 201 public synchronized boolean supportsANSI92IntermediateSQL() throws SQLException  202 { return inner.supportsANSI92IntermediateSQL(); } 203 204 public synchronized boolean supportsANSI92FullSQL() throws SQLException  205 { return inner.supportsANSI92FullSQL(); } 206 207 public synchronized boolean supportsIntegrityEnhancementFacility() throws SQLException  208 { return inner.supportsIntegrityEnhancementFacility(); } 209 210 public synchronized boolean supportsOuterJoins() throws SQLException  211 { return inner.supportsOuterJoins(); } 212 213 public synchronized boolean supportsFullOuterJoins() throws SQLException  214 { return inner.supportsFullOuterJoins(); } 215 216 public synchronized boolean supportsLimitedOuterJoins() throws SQLException  217 { return inner.supportsLimitedOuterJoins(); } 218 219 public synchronized String getSchemaTerm() throws SQLException  220 { return inner.getSchemaTerm(); } 221 222 public synchronized String getProcedureTerm() throws SQLException  223 { return inner.getProcedureTerm(); } 224 225 public synchronized String getCatalogTerm() throws SQLException  226 { return inner.getCatalogTerm(); } 227 228 public synchronized boolean isCatalogAtStart() throws SQLException  229 { return inner.isCatalogAtStart(); } 230 231 public synchronized String getCatalogSeparator() throws SQLException  232 { return inner.getCatalogSeparator(); } 233 234 public synchronized boolean supportsSchemasInDataManipulation() throws SQLException  235 { return inner.supportsSchemasInDataManipulation(); } 236 237 public synchronized boolean supportsSchemasInProcedureCalls() throws SQLException  238 { return inner.supportsSchemasInProcedureCalls(); } 239 240 public synchronized boolean supportsSchemasInTableDefinitions() throws SQLException  241 { return inner.supportsSchemasInTableDefinitions(); } 242 243 public synchronized boolean supportsSchemasInIndexDefinitions() throws SQLException  244 { return inner.supportsSchemasInIndexDefinitions(); } 245 246 public synchronized boolean supportsSchemasInPrivilegeDefinitions() throws SQLException  247 { return inner.supportsSchemasInPrivilegeDefinitions(); } 248 249 public synchronized boolean supportsCatalogsInDataManipulation() throws SQLException  250 { return inner.supportsCatalogsInDataManipulation(); } 251 252 public synchronized boolean supportsCatalogsInProcedureCalls() throws SQLException  253 { return inner.supportsCatalogsInProcedureCalls(); } 254 255 public synchronized boolean supportsCatalogsInTableDefinitions() throws SQLException  256 { return inner.supportsCatalogsInTableDefinitions(); } 257 258 public synchronized boolean supportsCatalogsInIndexDefinitions() throws SQLException  259 { return inner.supportsCatalogsInIndexDefinitions(); } 260 261 public synchronized boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException  262 { return inner.supportsCatalogsInPrivilegeDefinitions(); } 263 264 public synchronized boolean supportsPositionedDelete() throws SQLException  265 { return inner.supportsPositionedDelete(); } 266 267 public synchronized boolean supportsPositionedUpdate() throws SQLException  268 { return inner.supportsPositionedUpdate(); } 269 270 public synchronized boolean supportsSelectForUpdate() throws SQLException  271 { return inner.supportsSelectForUpdate(); } 272 273 public synchronized boolean supportsStoredProcedures() throws SQLException  274 { return inner.supportsStoredProcedures(); } 275 276 public synchronized boolean supportsSubqueriesInComparisons() throws SQLException  277 { return inner.supportsSubqueriesInComparisons(); } 278 279 public synchronized boolean supportsSubqueriesInExists() throws SQLException  280 { return inner.supportsSubqueriesInExists(); } 281 282 public synchronized boolean supportsSubqueriesInIns() throws SQLException  283 { return inner.supportsSubqueriesInIns(); } 284 285 public synchronized boolean supportsSubqueriesInQuantifieds() throws SQLException  286 { return inner.supportsSubqueriesInQuantifieds(); } 287 288 public synchronized boolean supportsCorrelatedSubqueries() throws SQLException  289 { return inner.supportsCorrelatedSubqueries(); } 290 291 public synchronized boolean supportsUnion() throws SQLException  292 { return inner.supportsUnion(); } 293 294 public synchronized boolean supportsUnionAll() throws SQLException  295 { return inner.supportsUnionAll(); } 296 297 public synchronized boolean supportsOpenCursorsAcrossCommit() throws SQLException  298 { return inner.supportsOpenCursorsAcrossCommit(); } 299 300 public synchronized boolean supportsOpenCursorsAcrossRollback() throws SQLException  301 { return inner.supportsOpenCursorsAcrossRollback(); } 302 303 public synchronized boolean supportsOpenStatementsAcrossCommit() throws SQLException  304 { return inner.supportsOpenStatementsAcrossCommit(); } 305 306 public synchronized boolean supportsOpenStatementsAcrossRollback() throws SQLException  307 { return inner.supportsOpenStatementsAcrossRollback(); } 308 309 public synchronized int getMaxBinaryLiteralLength() throws SQLException  310 { return inner.getMaxBinaryLiteralLength(); } 311 312 public synchronized int getMaxCharLiteralLength() throws SQLException  313 { return inner.getMaxCharLiteralLength(); } 314 315 public synchronized int getMaxColumnNameLength() throws SQLException  316 { return inner.getMaxColumnNameLength(); } 317 318 public synchronized int getMaxColumnsInGroupBy() throws SQLException  319 { return inner.getMaxColumnsInGroupBy(); } 320 321 public synchronized int getMaxColumnsInIndex() throws SQLException  322 { return inner.getMaxColumnsInIndex(); } 323 324 public synchronized int getMaxColumnsInOrderBy() throws SQLException  325 { return inner.getMaxColumnsInOrderBy(); } 326 327 public synchronized int getMaxColumnsInSelect() throws SQLException  328 { return inner.getMaxColumnsInSelect(); } 329 330 public synchronized int getMaxColumnsInTable() throws SQLException  331 { return inner.getMaxColumnsInTable(); } 332 333 public synchronized int getMaxConnections() throws SQLException  334 { return inner.getMaxConnections(); } 335 336 public synchronized int getMaxCursorNameLength() throws SQLException  337 { return inner.getMaxCursorNameLength(); } 338 339 public synchronized int getMaxIndexLength() throws SQLException  340 { return inner.getMaxIndexLength(); } 341 342 public synchronized int getMaxSchemaNameLength() throws SQLException  343 { return inner.getMaxSchemaNameLength(); } 344 345 public synchronized int getMaxProcedureNameLength() throws SQLException  346 { return inner.getMaxProcedureNameLength(); } 347 348 public synchronized int getMaxCatalogNameLength() throws SQLException  349 { return inner.getMaxCatalogNameLength(); } 350 351 public synchronized int getMaxRowSize() throws SQLException  352 { return inner.getMaxRowSize(); } 353 354 public synchronized boolean doesMaxRowSizeIncludeBlobs() throws SQLException  355 { return inner.doesMaxRowSizeIncludeBlobs(); } 356 357 public synchronized int getMaxStatementLength() throws SQLException  358 { return inner.getMaxStatementLength(); } 359 360 public synchronized int getMaxStatements() throws SQLException  361 { return inner.getMaxStatements(); } 362 363 public synchronized int getMaxTableNameLength() throws SQLException  364 { return inner.getMaxTableNameLength(); } 365 366 public synchronized int getMaxTablesInSelect() throws SQLException  367 { return inner.getMaxTablesInSelect(); } 368 369 public synchronized int getMaxUserNameLength() throws SQLException  370 { return inner.getMaxUserNameLength(); } 371 372 public synchronized int getDefaultTransactionIsolation() throws SQLException  373 { return inner.getDefaultTransactionIsolation(); } 374 375 public synchronized boolean supportsTransactions() throws SQLException  376 { return inner.supportsTransactions(); } 377 378 public synchronized boolean supportsTransactionIsolationLevel(int a) throws SQLException  379 { return inner.supportsTransactionIsolationLevel(a); } 380 381 public synchronized boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException  382 { return inner.supportsDataDefinitionAndDataManipulationTransactions(); } 383 384 public synchronized boolean supportsDataManipulationTransactionsOnly() throws SQLException  385 { return inner.supportsDataManipulationTransactionsOnly(); } 386 387 public synchronized boolean dataDefinitionCausesTransactionCommit() throws SQLException  388 { return inner.dataDefinitionCausesTransactionCommit(); } 389 390 public synchronized boolean dataDefinitionIgnoredInTransactions() throws SQLException  391 { return inner.dataDefinitionIgnoredInTransactions(); } 392 393 public synchronized ResultSet getProcedures(String a, String b, String c) throws SQLException  394 { return inner.getProcedures(a, b, c); } 395 396 public synchronized ResultSet getProcedureColumns(String a, String b, String c, String d) throws SQLException  397 { return inner.getProcedureColumns(a, b, c, d); } 398 399 public synchronized ResultSet getTables(String a, String b, String c, String [] d) throws SQLException  400 { return inner.getTables(a, b, c, d); } 401 402 public synchronized ResultSet getSchemas() throws SQLException  403 { return inner.getSchemas(); } 404 405 public synchronized ResultSet getCatalogs() throws SQLException  406 { return inner.getCatalogs(); } 407 408 public synchronized ResultSet getTableTypes() throws SQLException  409 { return inner.getTableTypes(); } 410 411 public synchronized ResultSet getColumnPrivileges(String a, String b, String c, String d) throws SQLException  412 { return inner.getColumnPrivileges(a, b, c, d); } 413 414 public synchronized ResultSet getTablePrivileges(String a, String b, String c) throws SQLException  415 { return inner.getTablePrivileges(a, b, c); } 416 417 public synchronized ResultSet getBestRowIdentifier(String a, String b, String c, int d, boolean e) throws SQLException  418 { return inner.getBestRowIdentifier(a, b, c, d, e); } 419 420 public synchronized ResultSet getVersionColumns(String a, String b, String c) throws SQLException  421 { return inner.getVersionColumns(a, b, c); } 422 423 public synchronized ResultSet getPrimaryKeys(String a, String b, String c) throws SQLException  424 { return inner.getPrimaryKeys(a, b, c); } 425 426 public synchronized ResultSet getImportedKeys(String a, String b, String c) throws SQLException  427 { return inner.getImportedKeys(a, b, c); } 428 429 public synchronized ResultSet getExportedKeys(String a, String b, String c) throws SQLException  430 { return inner.getExportedKeys(a, b, c); } 431 432 public synchronized ResultSet getCrossReference(String a, String b, String c, String d, String e, String f) throws SQLException  433 { return inner.getCrossReference(a, b, c, d, e, f); } 434 435 public synchronized ResultSet getTypeInfo() throws SQLException  436 { return inner.getTypeInfo(); } 437 438 public synchronized ResultSet getIndexInfo(String a, String b, String c, boolean d, boolean e) throws SQLException  439 { return inner.getIndexInfo(a, b, c, d, e); } 440 441 public synchronized boolean supportsResultSetType(int a) throws SQLException  442 { return inner.supportsResultSetType(a); } 443 444 public synchronized boolean supportsResultSetConcurrency(int a, int b) throws SQLException  445 { return inner.supportsResultSetConcurrency(a, b); } 446 447 public synchronized boolean ownUpdatesAreVisible(int a) throws SQLException  448 { return inner.ownUpdatesAreVisible(a); } 449 450 public synchronized boolean ownDeletesAreVisible(int a) throws SQLException  451 { return inner.ownDeletesAreVisible(a); } 452 453 public synchronized boolean ownInsertsAreVisible(int a) throws SQLException  454 { return inner.ownInsertsAreVisible(a); } 455 456 public synchronized boolean othersUpdatesAreVisible(int a) throws SQLException  457 { return inner.othersUpdatesAreVisible(a); } 458 459 public synchronized boolean othersDeletesAreVisible(int a) throws SQLException  460 { return inner.othersDeletesAreVisible(a); } 461 462 public synchronized boolean othersInsertsAreVisible(int a) throws SQLException  463 { return inner.othersInsertsAreVisible(a); } 464 465 public synchronized boolean updatesAreDetected(int a) throws SQLException  466 { return inner.updatesAreDetected(a); } 467 468 public synchronized boolean deletesAreDetected(int a) throws SQLException  469 { return inner.deletesAreDetected(a); } 470 471 public synchronized boolean insertsAreDetected(int a) throws SQLException  472 { return inner.insertsAreDetected(a); } 473 474 public synchronized boolean supportsBatchUpdates() throws SQLException  475 { return inner.supportsBatchUpdates(); } 476 477 public synchronized ResultSet getUDTs(String a, String b, String c, int[] d) throws SQLException  478 { return inner.getUDTs(a, b, c, d); } 479 480 public synchronized boolean supportsSavepoints() throws SQLException  481 { return inner.supportsSavepoints(); } 482 483 public synchronized boolean supportsNamedParameters() throws SQLException  484 { return inner.supportsNamedParameters(); } 485 486 public synchronized boolean supportsMultipleOpenResults() throws SQLException  487 { return inner.supportsMultipleOpenResults(); } 488 489 public synchronized boolean supportsGetGeneratedKeys() throws SQLException  490 { return inner.supportsGetGeneratedKeys(); } 491 492 public synchronized ResultSet getSuperTypes(String a, String b, String c) throws SQLException  493 { return inner.getSuperTypes(a, b, c); } 494 495 public synchronized ResultSet getSuperTables(String a, String b, String c) throws SQLException  496 { return inner.getSuperTables(a, b, c); } 497 498 public synchronized boolean supportsResultSetHoldability(int a) throws SQLException  499 { return inner.supportsResultSetHoldability(a); } 500 501 public synchronized int getResultSetHoldability() throws SQLException  502 { return inner.getResultSetHoldability(); } 503 504 public synchronized int getDatabaseMajorVersion() throws SQLException  505 { return inner.getDatabaseMajorVersion(); } 506 507 public synchronized int getDatabaseMinorVersion() throws SQLException  508 { return inner.getDatabaseMinorVersion(); } 509 510 public synchronized int getJDBCMajorVersion() throws SQLException  511 { return inner.getJDBCMajorVersion(); } 512 513 public synchronized int getJDBCMinorVersion() throws SQLException  514 { return inner.getJDBCMinorVersion(); } 515 516 public synchronized int getSQLStateType() throws SQLException  517 { return inner.getSQLStateType(); } 518 519 public synchronized boolean locatorsUpdateCopy() throws SQLException  520 { return inner.locatorsUpdateCopy(); } 521 522 public synchronized boolean supportsStatementPooling() throws SQLException  523 { return inner.supportsStatementPooling(); } 524 525 public synchronized String getURL() throws SQLException  526 { return inner.getURL(); } 527 528 public synchronized boolean isReadOnly() throws SQLException  529 { return inner.isReadOnly(); } 530 531 public synchronized ResultSet getAttributes(String a, String b, String c, String d) throws SQLException  532 { return inner.getAttributes(a, b, c, d); } 533 534 public synchronized Connection getConnection() throws SQLException  535 { return inner.getConnection(); } 536 537 public synchronized ResultSet getColumns(String a, String b, String c, String d) throws SQLException  538 { return inner.getColumns(a, b, c, d); } 539 540 public synchronized String getUserName() throws SQLException  541 { return inner.getUserName(); } 542 } 543 | Popular Tags |