com.p6spy.engine.spy

Class P6DatabaseMetaData

public class P6DatabaseMetaData extends P6Base implements DatabaseMetaData

Description: JDBC Driver Extension implementing PreparedStatement. $Author: cheechq $ $Revision: 1.4 $ $Date: 2003/06/03 19:20:25 $ $Id: P6DatabaseMetaData.java,v 1.4 2003/06/03 19:20:25 cheechq Exp $ $Source: /cvsroot/p6spy/p6spy/com/p6spy/engine/spy/P6DatabaseMetaData.java,v $ $Log: P6DatabaseMetaData.java,v $ Revision 1.4 2003/06/03 19:20:25 cheechq removed unused imports Revision 1.3 2003/01/03 20:33:42 aarvesen Added getJDBC() method to return the underlying jdbc object. Revision 1.2 2002/12/06 22:42:11 aarvesen Extend P6Base. New factory registration in the constructor. jdk 1.4 additions Revision 1.1 2002/05/24 07:31:13 jeffgoke version 1 rewrite Revision 1.1 2002/04/10 04:24:26 jeffgoke added support for callable statements and fixed numerous bugs that allowed the real class to be returned
Field Summary
protected P6Connectionconnection
protected DatabaseMetaDatapassthru
Constructor Summary
P6DatabaseMetaData(P6Factory factory, DatabaseMetaData metadata, P6Connection connection)
Method Summary
booleanallProceduresAreCallable()
booleanallTablesAreSelectable()
booleandataDefinitionCausesTransactionCommit()
booleandataDefinitionIgnoredInTransactions()
booleandeletesAreDetected(int p0)
booleandoesMaxRowSizeIncludeBlobs()
ResultSetgetAttributes(String p0, String p1, String p2, String p3)
ResultSetgetBestRowIdentifier(String p0, String p1, String p2, int p3, boolean p4)
ResultSetgetCatalogs()
StringgetCatalogSeparator()
StringgetCatalogTerm()
ResultSetgetColumnPrivileges(String p0, String p1, String p2, String p3)
ResultSetgetColumns(String p0, String p1, String p2, String p3)
ConnectiongetConnection()
ResultSetgetCrossReference(String p0, String p1, String p2, String p3, String p4, String p5)
intgetDatabaseMajorVersion()
intgetDatabaseMinorVersion()
StringgetDatabaseProductName()
StringgetDatabaseProductVersion()
intgetDefaultTransactionIsolation()
intgetDriverMajorVersion()
intgetDriverMinorVersion()
StringgetDriverName()
StringgetDriverVersion()
ResultSetgetExportedKeys(String p0, String p1, String p2)
StringgetExtraNameCharacters()
StringgetIdentifierQuoteString()
ResultSetgetImportedKeys(String p0, String p1, String p2)
ResultSetgetIndexInfo(String p0, String p1, String p2, boolean p3, boolean p4)
DatabaseMetaDatagetJDBC()
Returns the underlying JDBC object (in this case, a java.sql.DatabaseMetaData)
intgetJDBCMajorVersion()
intgetJDBCMinorVersion()
intgetMaxBinaryLiteralLength()
intgetMaxCatalogNameLength()
intgetMaxCharLiteralLength()
intgetMaxColumnNameLength()
intgetMaxColumnsInGroupBy()
intgetMaxColumnsInIndex()
intgetMaxColumnsInOrderBy()
intgetMaxColumnsInSelect()
intgetMaxColumnsInTable()
intgetMaxConnections()
intgetMaxCursorNameLength()
intgetMaxIndexLength()
intgetMaxProcedureNameLength()
intgetMaxRowSize()
intgetMaxSchemaNameLength()
intgetMaxStatementLength()
intgetMaxStatements()
intgetMaxTableNameLength()
intgetMaxTablesInSelect()
intgetMaxUserNameLength()
StringgetNumericFunctions()
ResultSetgetPrimaryKeys(String p0, String p1, String p2)
ResultSetgetProcedureColumns(String p0, String p1, String p2, String p3)
ResultSetgetProcedures(String p0, String p1, String p2)
StringgetProcedureTerm()
intgetResultSetHoldability()
ResultSetgetSchemas()
StringgetSchemaTerm()
StringgetSearchStringEscape()
StringgetSQLKeywords()
intgetSQLStateType()
StringgetStringFunctions()
ResultSetgetSuperTables(String p0, String p1, String p2)
ResultSetgetSuperTypes(String p0, String p1, String p2)
StringgetSystemFunctions()
ResultSetgetTablePrivileges(String p0, String p1, String p2)
ResultSetgetTables(String p0, String p1, String p2, String[] p3)
ResultSetgetTableTypes()
StringgetTimeDateFunctions()
ResultSetgetTypeInfo()
ResultSetgetUDTs(String p0, String p1, String p2, int[] p3)
StringgetURL()
StringgetUserName()
ResultSetgetVersionColumns(String p0, String p1, String p2)
booleaninsertsAreDetected(int p0)
booleanisCatalogAtStart()
booleanisReadOnly()
booleanlocatorsUpdateCopy()
booleannullPlusNonNullIsNull()
booleannullsAreSortedAtEnd()
booleannullsAreSortedAtStart()
booleannullsAreSortedHigh()
booleannullsAreSortedLow()
booleanothersDeletesAreVisible(int p0)
booleanothersInsertsAreVisible(int p0)
booleanothersUpdatesAreVisible(int p0)
booleanownDeletesAreVisible(int p0)
booleanownInsertsAreVisible(int p0)
booleanownUpdatesAreVisible(int p0)
booleanstoresLowerCaseIdentifiers()
booleanstoresLowerCaseQuotedIdentifiers()
booleanstoresMixedCaseIdentifiers()
booleanstoresMixedCaseQuotedIdentifiers()
booleanstoresUpperCaseIdentifiers()
booleanstoresUpperCaseQuotedIdentifiers()
booleansupportsAlterTableWithAddColumn()
booleansupportsAlterTableWithDropColumn()
booleansupportsANSI92EntryLevelSQL()
booleansupportsANSI92FullSQL()
booleansupportsANSI92IntermediateSQL()
booleansupportsBatchUpdates()
booleansupportsCatalogsInDataManipulation()
booleansupportsCatalogsInIndexDefinitions()
booleansupportsCatalogsInPrivilegeDefinitions()
booleansupportsCatalogsInProcedureCalls()
booleansupportsCatalogsInTableDefinitions()
booleansupportsColumnAliasing()
booleansupportsConvert()
booleansupportsConvert(int p0, int p1)
booleansupportsCoreSQLGrammar()
booleansupportsCorrelatedSubqueries()
booleansupportsDataDefinitionAndDataManipulationTransactions()
booleansupportsDataManipulationTransactionsOnly()
booleansupportsDifferentTableCorrelationNames()
booleansupportsExpressionsInOrderBy()
booleansupportsExtendedSQLGrammar()
booleansupportsFullOuterJoins()
booleansupportsGetGeneratedKeys()
booleansupportsGroupBy()
booleansupportsGroupByBeyondSelect()
booleansupportsGroupByUnrelated()
booleansupportsIntegrityEnhancementFacility()
booleansupportsLikeEscapeClause()
booleansupportsLimitedOuterJoins()
booleansupportsMinimumSQLGrammar()
booleansupportsMixedCaseIdentifiers()
booleansupportsMixedCaseQuotedIdentifiers()
booleansupportsMultipleOpenResults()
booleansupportsMultipleResultSets()
booleansupportsMultipleTransactions()
booleansupportsNamedParameters()
booleansupportsNonNullableColumns()
booleansupportsOpenCursorsAcrossCommit()
booleansupportsOpenCursorsAcrossRollback()
booleansupportsOpenStatementsAcrossCommit()
booleansupportsOpenStatementsAcrossRollback()
booleansupportsOrderByUnrelated()
booleansupportsOuterJoins()
booleansupportsPositionedDelete()
booleansupportsPositionedUpdate()
booleansupportsResultSetConcurrency(int p0, int p1)
booleansupportsResultSetHoldability(int p0)
booleansupportsResultSetType(int p0)
booleansupportsSavepoints()
booleansupportsSchemasInDataManipulation()
booleansupportsSchemasInIndexDefinitions()
booleansupportsSchemasInPrivilegeDefinitions()
booleansupportsSchemasInProcedureCalls()
booleansupportsSchemasInTableDefinitions()
booleansupportsSelectForUpdate()
booleansupportsStatementPooling()
booleansupportsStoredProcedures()
booleansupportsSubqueriesInComparisons()
booleansupportsSubqueriesInExists()
booleansupportsSubqueriesInIns()
booleansupportsSubqueriesInQuantifieds()
booleansupportsTableCorrelationNames()
booleansupportsTransactionIsolationLevel(int p0)
booleansupportsTransactions()
booleansupportsUnion()
booleansupportsUnionAll()
booleanupdatesAreDetected(int p0)
booleanusesLocalFilePerTable()
booleanusesLocalFiles()

Field Detail

connection

protected P6Connection connection

passthru

protected DatabaseMetaData passthru

Constructor Detail

P6DatabaseMetaData

public P6DatabaseMetaData(P6Factory factory, DatabaseMetaData metadata, P6Connection connection)

Method Detail

allProceduresAreCallable

public boolean allProceduresAreCallable()

allTablesAreSelectable

public boolean allTablesAreSelectable()

dataDefinitionCausesTransactionCommit

public boolean dataDefinitionCausesTransactionCommit()

dataDefinitionIgnoredInTransactions

public boolean dataDefinitionIgnoredInTransactions()

deletesAreDetected

public boolean deletesAreDetected(int p0)

doesMaxRowSizeIncludeBlobs

public boolean doesMaxRowSizeIncludeBlobs()

getAttributes

public ResultSet getAttributes(String p0, String p1, String p2, String p3)

getBestRowIdentifier

public ResultSet getBestRowIdentifier(String p0, String p1, String p2, int p3, boolean p4)

getCatalogs

public ResultSet getCatalogs()

getCatalogSeparator

public String getCatalogSeparator()

getCatalogTerm

public String getCatalogTerm()

getColumnPrivileges

public ResultSet getColumnPrivileges(String p0, String p1, String p2, String p3)

getColumns

public ResultSet getColumns(String p0, String p1, String p2, String p3)

getConnection

public Connection getConnection()

getCrossReference

public ResultSet getCrossReference(String p0, String p1, String p2, String p3, String p4, String p5)

getDatabaseMajorVersion

public int getDatabaseMajorVersion()

getDatabaseMinorVersion

public int getDatabaseMinorVersion()

getDatabaseProductName

public String getDatabaseProductName()

getDatabaseProductVersion

public String getDatabaseProductVersion()

getDefaultTransactionIsolation

public int getDefaultTransactionIsolation()

getDriverMajorVersion

public int getDriverMajorVersion()

getDriverMinorVersion

public int getDriverMinorVersion()

getDriverName

public String getDriverName()

getDriverVersion

public String getDriverVersion()

getExportedKeys

public ResultSet getExportedKeys(String p0, String p1, String p2)

getExtraNameCharacters

public String getExtraNameCharacters()

getIdentifierQuoteString

public String getIdentifierQuoteString()

getImportedKeys

public ResultSet getImportedKeys(String p0, String p1, String p2)

getIndexInfo

public ResultSet getIndexInfo(String p0, String p1, String p2, boolean p3, boolean p4)

getJDBC

public DatabaseMetaData getJDBC()
Returns the underlying JDBC object (in this case, a java.sql.DatabaseMetaData)

Returns: the wrapped JDBC object

getJDBCMajorVersion

public int getJDBCMajorVersion()

getJDBCMinorVersion

public int getJDBCMinorVersion()

getMaxBinaryLiteralLength

public int getMaxBinaryLiteralLength()

getMaxCatalogNameLength

public int getMaxCatalogNameLength()

getMaxCharLiteralLength

public int getMaxCharLiteralLength()

getMaxColumnNameLength

public int getMaxColumnNameLength()

getMaxColumnsInGroupBy

public int getMaxColumnsInGroupBy()

getMaxColumnsInIndex

public int getMaxColumnsInIndex()

getMaxColumnsInOrderBy

public int getMaxColumnsInOrderBy()

getMaxColumnsInSelect

public int getMaxColumnsInSelect()

getMaxColumnsInTable

public int getMaxColumnsInTable()

getMaxConnections

public int getMaxConnections()

getMaxCursorNameLength

public int getMaxCursorNameLength()

getMaxIndexLength

public int getMaxIndexLength()

getMaxProcedureNameLength

public int getMaxProcedureNameLength()

getMaxRowSize

public int getMaxRowSize()

getMaxSchemaNameLength

public int getMaxSchemaNameLength()

getMaxStatementLength

public int getMaxStatementLength()

getMaxStatements

public int getMaxStatements()

getMaxTableNameLength

public int getMaxTableNameLength()

getMaxTablesInSelect

public int getMaxTablesInSelect()

getMaxUserNameLength

public int getMaxUserNameLength()

getNumericFunctions

public String getNumericFunctions()

getPrimaryKeys

public ResultSet getPrimaryKeys(String p0, String p1, String p2)

getProcedureColumns

public ResultSet getProcedureColumns(String p0, String p1, String p2, String p3)

getProcedures

public ResultSet getProcedures(String p0, String p1, String p2)

getProcedureTerm

public String getProcedureTerm()

getResultSetHoldability

public int getResultSetHoldability()

getSchemas

public ResultSet getSchemas()

getSchemaTerm

public String getSchemaTerm()

getSearchStringEscape

public String getSearchStringEscape()

getSQLKeywords

public String getSQLKeywords()

getSQLStateType

public int getSQLStateType()

getStringFunctions

public String getStringFunctions()

getSuperTables

public ResultSet getSuperTables(String p0, String p1, String p2)

getSuperTypes

public ResultSet getSuperTypes(String p0, String p1, String p2)

getSystemFunctions

public String getSystemFunctions()

getTablePrivileges

public ResultSet getTablePrivileges(String p0, String p1, String p2)

getTables

public ResultSet getTables(String p0, String p1, String p2, String[] p3)

getTableTypes

public ResultSet getTableTypes()

getTimeDateFunctions

public String getTimeDateFunctions()

getTypeInfo

public ResultSet getTypeInfo()

getUDTs

public ResultSet getUDTs(String p0, String p1, String p2, int[] p3)

getURL

public String getURL()

getUserName

public String getUserName()

getVersionColumns

public ResultSet getVersionColumns(String p0, String p1, String p2)

insertsAreDetected

public boolean insertsAreDetected(int p0)

isCatalogAtStart

public boolean isCatalogAtStart()

isReadOnly

public boolean isReadOnly()

locatorsUpdateCopy

public boolean locatorsUpdateCopy()

nullPlusNonNullIsNull

public boolean nullPlusNonNullIsNull()

nullsAreSortedAtEnd

public boolean nullsAreSortedAtEnd()

nullsAreSortedAtStart

public boolean nullsAreSortedAtStart()

nullsAreSortedHigh

public boolean nullsAreSortedHigh()

nullsAreSortedLow

public boolean nullsAreSortedLow()

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int p0)

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int p0)

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int p0)

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int p0)

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int p0)

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int p0)

storesLowerCaseIdentifiers

public boolean storesLowerCaseIdentifiers()

storesLowerCaseQuotedIdentifiers

public boolean storesLowerCaseQuotedIdentifiers()

storesMixedCaseIdentifiers

public boolean storesMixedCaseIdentifiers()

storesMixedCaseQuotedIdentifiers

public boolean storesMixedCaseQuotedIdentifiers()

storesUpperCaseIdentifiers

public boolean storesUpperCaseIdentifiers()

storesUpperCaseQuotedIdentifiers

public boolean storesUpperCaseQuotedIdentifiers()

supportsAlterTableWithAddColumn

public boolean supportsAlterTableWithAddColumn()

supportsAlterTableWithDropColumn

public boolean supportsAlterTableWithDropColumn()

supportsANSI92EntryLevelSQL

public boolean supportsANSI92EntryLevelSQL()

supportsANSI92FullSQL

public boolean supportsANSI92FullSQL()

supportsANSI92IntermediateSQL

public boolean supportsANSI92IntermediateSQL()

supportsBatchUpdates

public boolean supportsBatchUpdates()

supportsCatalogsInDataManipulation

public boolean supportsCatalogsInDataManipulation()

supportsCatalogsInIndexDefinitions

public boolean supportsCatalogsInIndexDefinitions()

supportsCatalogsInPrivilegeDefinitions

public boolean supportsCatalogsInPrivilegeDefinitions()

supportsCatalogsInProcedureCalls

public boolean supportsCatalogsInProcedureCalls()

supportsCatalogsInTableDefinitions

public boolean supportsCatalogsInTableDefinitions()

supportsColumnAliasing

public boolean supportsColumnAliasing()

supportsConvert

public boolean supportsConvert()

supportsConvert

public boolean supportsConvert(int p0, int p1)

supportsCoreSQLGrammar

public boolean supportsCoreSQLGrammar()

supportsCorrelatedSubqueries

public boolean supportsCorrelatedSubqueries()

supportsDataDefinitionAndDataManipulationTransactions

public boolean supportsDataDefinitionAndDataManipulationTransactions()

supportsDataManipulationTransactionsOnly

public boolean supportsDataManipulationTransactionsOnly()

supportsDifferentTableCorrelationNames

public boolean supportsDifferentTableCorrelationNames()

supportsExpressionsInOrderBy

public boolean supportsExpressionsInOrderBy()

supportsExtendedSQLGrammar

public boolean supportsExtendedSQLGrammar()

supportsFullOuterJoins

public boolean supportsFullOuterJoins()

supportsGetGeneratedKeys

public boolean supportsGetGeneratedKeys()

supportsGroupBy

public boolean supportsGroupBy()

supportsGroupByBeyondSelect

public boolean supportsGroupByBeyondSelect()

supportsGroupByUnrelated

public boolean supportsGroupByUnrelated()

supportsIntegrityEnhancementFacility

public boolean supportsIntegrityEnhancementFacility()

supportsLikeEscapeClause

public boolean supportsLikeEscapeClause()

supportsLimitedOuterJoins

public boolean supportsLimitedOuterJoins()

supportsMinimumSQLGrammar

public boolean supportsMinimumSQLGrammar()

supportsMixedCaseIdentifiers

public boolean supportsMixedCaseIdentifiers()

supportsMixedCaseQuotedIdentifiers

public boolean supportsMixedCaseQuotedIdentifiers()

supportsMultipleOpenResults

public boolean supportsMultipleOpenResults()

supportsMultipleResultSets

public boolean supportsMultipleResultSets()

supportsMultipleTransactions

public boolean supportsMultipleTransactions()

supportsNamedParameters

public boolean supportsNamedParameters()

supportsNonNullableColumns

public boolean supportsNonNullableColumns()

supportsOpenCursorsAcrossCommit

public boolean supportsOpenCursorsAcrossCommit()

supportsOpenCursorsAcrossRollback

public boolean supportsOpenCursorsAcrossRollback()

supportsOpenStatementsAcrossCommit

public boolean supportsOpenStatementsAcrossCommit()

supportsOpenStatementsAcrossRollback

public boolean supportsOpenStatementsAcrossRollback()

supportsOrderByUnrelated

public boolean supportsOrderByUnrelated()

supportsOuterJoins

public boolean supportsOuterJoins()

supportsPositionedDelete

public boolean supportsPositionedDelete()

supportsPositionedUpdate

public boolean supportsPositionedUpdate()

supportsResultSetConcurrency

public boolean supportsResultSetConcurrency(int p0, int p1)

supportsResultSetHoldability

public boolean supportsResultSetHoldability(int p0)

supportsResultSetType

public boolean supportsResultSetType(int p0)

supportsSavepoints

public boolean supportsSavepoints()

supportsSchemasInDataManipulation

public boolean supportsSchemasInDataManipulation()

supportsSchemasInIndexDefinitions

public boolean supportsSchemasInIndexDefinitions()

supportsSchemasInPrivilegeDefinitions

public boolean supportsSchemasInPrivilegeDefinitions()

supportsSchemasInProcedureCalls

public boolean supportsSchemasInProcedureCalls()

supportsSchemasInTableDefinitions

public boolean supportsSchemasInTableDefinitions()

supportsSelectForUpdate

public boolean supportsSelectForUpdate()

supportsStatementPooling

public boolean supportsStatementPooling()

supportsStoredProcedures

public boolean supportsStoredProcedures()

supportsSubqueriesInComparisons

public boolean supportsSubqueriesInComparisons()

supportsSubqueriesInExists

public boolean supportsSubqueriesInExists()

supportsSubqueriesInIns

public boolean supportsSubqueriesInIns()

supportsSubqueriesInQuantifieds

public boolean supportsSubqueriesInQuantifieds()

supportsTableCorrelationNames

public boolean supportsTableCorrelationNames()

supportsTransactionIsolationLevel

public boolean supportsTransactionIsolationLevel(int p0)

supportsTransactions

public boolean supportsTransactions()

supportsUnion

public boolean supportsUnion()

supportsUnionAll

public boolean supportsUnionAll()

updatesAreDetected

public boolean updatesAreDetected(int p0)

usesLocalFilePerTable

public boolean usesLocalFilePerTable()

usesLocalFiles

public boolean usesLocalFiles()