org.apache.openjpa.lib.jdbc
Class LoggingConnectionDecorator.LoggingConnection.LoggingDatabaseMetaData
java.lang.Object
   org.apache.openjpa.lib.jdbc.DelegatingDatabaseMetaData
org.apache.openjpa.lib.jdbc.DelegatingDatabaseMetaData
       org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.LoggingDatabaseMetaData
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.LoggingConnection.LoggingDatabaseMetaData
- All Implemented Interfaces: 
- DatabaseMetaData, Wrapper
- Enclosing class:
- LoggingConnectionDecorator.LoggingConnection
- protected class LoggingConnectionDecorator.LoggingConnection.LoggingDatabaseMetaData 
- extends DelegatingDatabaseMetaData
Metadata wrapper that logs actions.
 
| Fields inherited from interface java.sql.DatabaseMetaData | 
| attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown | 
 
 
| Method Summary | 
|  ResultSet | getBestRowIdentifier(String catalog,
                     String schema,
                     String table,
                     int scope,
                     boolean nullable)
 | 
|  ResultSet | getCatalogs()
 | 
|  ResultSet | getColumnPrivileges(String catalog,
                    String schema,
                    String table,
                    String columnNamePattern)
 | 
|  ResultSet | getColumns(String catalog,
           String schemaPattern,
           String tableNamePattern,
           String columnNamePattern)
 | 
|  ResultSet | getCrossReference(String primaryCatalog,
                  String primarySchema,
                  String primaryTable,
                  String foreignCatalog,
                  String foreignSchema,
                  String foreignTable)
 | 
|  ResultSet | getExportedKeys(String catalog,
                String schema,
                String table)
 | 
|  ResultSet | getImportedKeys(String catalog,
                String schema,
                String table)
 | 
|  ResultSet | getIndexInfo(String catalog,
             String schema,
             String table,
             boolean unique,
             boolean approximate)
 | 
|  ResultSet | getPrimaryKeys(String catalog,
               String schema,
               String table)
 | 
|  ResultSet | getProcedureColumns(String catalog,
                    String schemaPattern,
                    String procedureNamePattern,
                    String columnNamePattern)
 | 
|  ResultSet | getProcedures(String catalog,
              String schemaPattern,
              String procedureNamePattern)
 | 
|  ResultSet | getSchemas()
 | 
|  ResultSet | getTablePrivileges(String catalog,
                   String schemaPattern,
                   String tableNamePattern)
 | 
|  ResultSet | getTables(String catalog,
          String schemaPattern,
          String tableNamePattern,
          String[] types)
 | 
|  ResultSet | getTableTypes()
 | 
|  ResultSet | getTypeInfo()
 | 
|  ResultSet | getUDTs(String catalog,
        String schemaPattern,
        String typeNamePattern,
        int[] types)
 | 
|  ResultSet | getVersionColumns(String catalog,
                  String schema,
                  String table)
 | 
 
| Methods inherited from class org.apache.openjpa.lib.jdbc.DelegatingDatabaseMetaData | 
| allProceduresAreCallable, allTablesAreSelectable, autoCommitFailureClosesAllResultSets, dataDefinitionCausesTransactionCommit, dataDefinitionIgnoredInTransactions, deletesAreDetected, doesMaxRowSizeIncludeBlobs, equals, generatedKeyAlwaysReturned, getAttributes, getCatalogSeparator, getCatalogTerm, getClientInfoProperties, getConnection, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getDefaultTransactionIsolation, getDelegate, getDriverMajorVersion, getDriverMinorVersion, getDriverName, getDriverVersion, getExtraNameCharacters, getFunctionColumns, getFunctions, getIdentifierQuoteString, getInnermostDelegate, getJDBCMajorVersion, getJDBCMinorVersion, getMaxBinaryLiteralLength, getMaxCatalogNameLength, getMaxCharLiteralLength, getMaxColumnNameLength, getMaxColumnsInGroupBy, getMaxColumnsInIndex, getMaxColumnsInOrderBy, getMaxColumnsInSelect, getMaxColumnsInTable, getMaxConnections, getMaxCursorNameLength, getMaxIndexLength, getMaxProcedureNameLength, getMaxRowSize, getMaxSchemaNameLength, getMaxStatementLength, getMaxStatements, getMaxTableNameLength, getMaxTablesInSelect, getMaxUserNameLength, getNumericFunctions, getProcedureTerm, getPseudoColumns, getResultSetHoldability, getRowIdLifetime, getSchemas, getSchemaTerm, getSearchStringEscape, getSQLKeywords, getSQLStateType, getStringFunctions, getSuperTables, getSuperTypes, getSystemFunctions, getTimeDateFunctions, getURL, getUserName, hashCode, insertsAreDetected, isCatalogAtStart, isReadOnly, isWrapperFor, locatorsUpdateCopy, nullPlusNonNullIsNull, nullsAreSortedAtEnd, nullsAreSortedAtStart, nullsAreSortedHigh, nullsAreSortedLow, othersDeletesAreVisible, othersInsertsAreVisible, othersUpdatesAreVisible, ownDeletesAreVisible, ownInsertsAreVisible, ownUpdatesAreVisible, storesLowerCaseIdentifiers, storesLowerCaseQuotedIdentifiers, storesMixedCaseIdentifiers, storesMixedCaseQuotedIdentifiers, storesUpperCaseIdentifiers, storesUpperCaseQuotedIdentifiers, supportsAlterTableWithAddColumn, supportsAlterTableWithDropColumn, supportsANSI92EntryLevelSQL, supportsANSI92FullSQL, supportsANSI92IntermediateSQL, supportsBatchUpdates, supportsCatalogsInDataManipulation, supportsCatalogsInIndexDefinitions, supportsCatalogsInPrivilegeDefinitions, supportsCatalogsInProcedureCalls, supportsCatalogsInTableDefinitions, supportsColumnAliasing, supportsConvert, supportsConvert, supportsCoreSQLGrammar, supportsCorrelatedSubqueries, supportsDataDefinitionAndDataManipulationTransactions, supportsDataManipulationTransactionsOnly, supportsDifferentTableCorrelationNames, supportsExpressionsInOrderBy, supportsExtendedSQLGrammar, supportsFullOuterJoins, supportsGetGeneratedKeys, supportsGroupBy, supportsGroupByBeyondSelect, supportsGroupByUnrelated, supportsIntegrityEnhancementFacility, supportsLikeEscapeClause, supportsLimitedOuterJoins, supportsMinimumSQLGrammar, supportsMixedCaseIdentifiers, supportsMixedCaseQuotedIdentifiers, supportsMultipleOpenResults, supportsMultipleResultSets, supportsMultipleTransactions, supportsNamedParameters, supportsNonNullableColumns, supportsOpenCursorsAcrossCommit, supportsOpenCursorsAcrossRollback, supportsOpenStatementsAcrossCommit, supportsOpenStatementsAcrossRollback, supportsOrderByUnrelated, supportsOuterJoins, supportsPositionedDelete, supportsPositionedUpdate, supportsResultSetConcurrency, supportsResultSetHoldability, supportsResultSetType, supportsSavepoints, supportsSchemasInDataManipulation, supportsSchemasInIndexDefinitions, supportsSchemasInPrivilegeDefinitions, supportsSchemasInProcedureCalls, supportsSchemasInTableDefinitions, supportsSelectForUpdate, supportsStatementPooling, supportsStoredFunctionsUsingCallSyntax, supportsStoredProcedures, supportsSubqueriesInComparisons, supportsSubqueriesInExists, supportsSubqueriesInIns, supportsSubqueriesInQuantifieds, supportsTableCorrelationNames, supportsTransactionIsolationLevel, supportsTransactions, supportsUnion, supportsUnionAll, toString, unwrap, updatesAreDetected, usesLocalFilePerTable, usesLocalFiles | 
 
 
LoggingConnectionDecorator.LoggingConnection.LoggingDatabaseMetaData
public LoggingConnectionDecorator.LoggingConnection.LoggingDatabaseMetaData(DatabaseMetaData meta)
getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog,
                                      String schema,
                                      String table,
                                      int scope,
                                      boolean nullable)
                               throws SQLException
- 
- Specified by:
- getBestRowIdentifierin interface- DatabaseMetaData
- Overrides:
- getBestRowIdentifierin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getCatalogs
public ResultSet getCatalogs()
                      throws SQLException
- 
- Specified by:
- getCatalogsin interface- DatabaseMetaData
- Overrides:
- getCatalogsin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog,
                                     String schema,
                                     String table,
                                     String columnNamePattern)
                              throws SQLException
- 
- Specified by:
- getColumnPrivilegesin interface- DatabaseMetaData
- Overrides:
- getColumnPrivilegesin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getColumns
public ResultSet getColumns(String catalog,
                            String schemaPattern,
                            String tableNamePattern,
                            String columnNamePattern)
                     throws SQLException
- 
- Specified by:
- getColumnsin interface- DatabaseMetaData
- Overrides:
- getColumnsin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getCrossReference
public ResultSet getCrossReference(String primaryCatalog,
                                   String primarySchema,
                                   String primaryTable,
                                   String foreignCatalog,
                                   String foreignSchema,
                                   String foreignTable)
                            throws SQLException
- 
- Specified by:
- getCrossReferencein interface- DatabaseMetaData
- Overrides:
- getCrossReferencein class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getExportedKeys
public ResultSet getExportedKeys(String catalog,
                                 String schema,
                                 String table)
                          throws SQLException
- 
- Specified by:
- getExportedKeysin interface- DatabaseMetaData
- Overrides:
- getExportedKeysin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getImportedKeys
public ResultSet getImportedKeys(String catalog,
                                 String schema,
                                 String table)
                          throws SQLException
- 
- Specified by:
- getImportedKeysin interface- DatabaseMetaData
- Overrides:
- getImportedKeysin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getIndexInfo
public ResultSet getIndexInfo(String catalog,
                              String schema,
                              String table,
                              boolean unique,
                              boolean approximate)
                       throws SQLException
- 
- Specified by:
- getIndexInfoin interface- DatabaseMetaData
- Overrides:
- getIndexInfoin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getPrimaryKeys
public ResultSet getPrimaryKeys(String catalog,
                                String schema,
                                String table)
                         throws SQLException
- 
- Specified by:
- getPrimaryKeysin interface- DatabaseMetaData
- Overrides:
- getPrimaryKeysin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getProcedureColumns
public ResultSet getProcedureColumns(String catalog,
                                     String schemaPattern,
                                     String procedureNamePattern,
                                     String columnNamePattern)
                              throws SQLException
- 
- Specified by:
- getProcedureColumnsin interface- DatabaseMetaData
- Overrides:
- getProcedureColumnsin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getProcedures
public ResultSet getProcedures(String catalog,
                               String schemaPattern,
                               String procedureNamePattern)
                        throws SQLException
- 
- Specified by:
- getProceduresin interface- DatabaseMetaData
- Overrides:
- getProceduresin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getSchemas
public ResultSet getSchemas()
                     throws SQLException
- 
- Specified by:
- getSchemasin interface- DatabaseMetaData
- Overrides:
- getSchemasin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getTablePrivileges
public ResultSet getTablePrivileges(String catalog,
                                    String schemaPattern,
                                    String tableNamePattern)
                             throws SQLException
- 
- Specified by:
- getTablePrivilegesin interface- DatabaseMetaData
- Overrides:
- getTablePrivilegesin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getTables
public ResultSet getTables(String catalog,
                           String schemaPattern,
                           String tableNamePattern,
                           String[] types)
                    throws SQLException
- 
- Specified by:
- getTablesin interface- DatabaseMetaData
- Overrides:
- getTablesin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getTableTypes
public ResultSet getTableTypes()
                        throws SQLException
- 
- Specified by:
- getTableTypesin interface- DatabaseMetaData
- Overrides:
- getTableTypesin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getTypeInfo
public ResultSet getTypeInfo()
                      throws SQLException
- 
- Specified by:
- getTypeInfoin interface- DatabaseMetaData
- Overrides:
- getTypeInfoin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getUDTs
public ResultSet getUDTs(String catalog,
                         String schemaPattern,
                         String typeNamePattern,
                         int[] types)
                  throws SQLException
- 
- Specified by:
- getUDTsin interface- DatabaseMetaData
- Overrides:
- getUDTsin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
getVersionColumns
public ResultSet getVersionColumns(String catalog,
                                   String schema,
                                   String table)
                            throws SQLException
- 
- Specified by:
- getVersionColumnsin interface- DatabaseMetaData
- Overrides:
- getVersionColumnsin class- DelegatingDatabaseMetaData
 
- 
- Throws:
- SQLException
 
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.