com.mockobjects.sql

Class MockDatabaseMetaData

Implemented Interfaces:
DatabaseMetaData, Verifiable

public class MockDatabaseMetaData
extends MockObject
implements DatabaseMetaData

Method Summary

boolean
allProceduresAreCallable()
boolean
allTablesAreSelectable()
boolean
dataDefinitionCausesTransactionCommit()
boolean
dataDefinitionIgnoredInTransactions()
boolean
deletesAreDetected(int a0)
boolean
doesMaxRowSizeIncludeBlobs()
ResultSet
getAttributes(String a0, String a1, String a2, String a3)
ResultSet
getBestRowIdentifier(String a0, String a1, String a2, int a3, boolean a4)
String
getCatalogSeparator()
String
getCatalogTerm()
ResultSet
getCatalogs()
ResultSet
getColumnPrivileges(String a0, String a1, String a2, String a3)
ResultSet
getColumns(String a0, String a1, String a2, String a3)
Connection
getConnection()
ResultSet
getCrossReference(String a0, String a1, String a2, String a3, String a4, String a5)
int
getDatabaseMajorVersion()
int
getDatabaseMinorVersion()
String
getDatabaseProductName()
String
getDatabaseProductVersion()
int
getDefaultTransactionIsolation()
int
getDriverMajorVersion()
int
getDriverMinorVersion()
String
getDriverName()
String
getDriverVersion()
ResultSet
getExportedKeys(String a0, String a1, String a2)
String
getExtraNameCharacters()
String
getIdentifierQuoteString()
ResultSet
getImportedKeys(String a0, String a1, String a2)
ResultSet
getIndexInfo(String a0, String a1, String a2, boolean a3, boolean a4)
int
getJDBCMajorVersion()
int
getJDBCMinorVersion()
int
getMaxBinaryLiteralLength()
int
getMaxCatalogNameLength()
int
getMaxCharLiteralLength()
int
getMaxColumnNameLength()
int
getMaxColumnsInGroupBy()
int
getMaxColumnsInIndex()
int
getMaxColumnsInOrderBy()
int
getMaxColumnsInSelect()
int
getMaxColumnsInTable()
int
getMaxConnections()
int
getMaxCursorNameLength()
int
getMaxIndexLength()
int
getMaxProcedureNameLength()
int
getMaxRowSize()
int
getMaxSchemaNameLength()
int
getMaxStatementLength()
int
getMaxStatements()
int
getMaxTableNameLength()
int
getMaxTablesInSelect()
int
getMaxUserNameLength()
String
getNumericFunctions()
ResultSet
getPrimaryKeys(String a0, String a1, String a2)
ResultSet
getProcedureColumns(String a0, String a1, String a2, String a3)
String
getProcedureTerm()
ResultSet
getProcedures(String a0, String a1, String a2)
int
getResultSetHoldability()
String
getSQLKeywords()
int
getSQLStateType()
String
getSchemaTerm()
ResultSet
getSchemas()
String
getSearchStringEscape()
String
getStringFunctions()
ResultSet
getSuperTables(String a0, String a1, String a2)
ResultSet
getSuperTypes(String a0, String a1, String a2)
String
getSystemFunctions()
ResultSet
getTablePrivileges(String a0, String a1, String a2)
ResultSet
getTableTypes()
ResultSet
getTables(String a0, String a1, String a2, String[] a3)
String
getTimeDateFunctions()
ResultSet
getTypeInfo()
ResultSet
getUDTs(String a0, String a1, String a2, int[] a3)
String
getURL()
String
getUserName()
ResultSet
getVersionColumns(String a0, String a1, String a2)
boolean
insertsAreDetected(int a0)
boolean
isCatalogAtStart()
boolean
isReadOnly()
boolean
locatorsUpdateCopy()
boolean
nullPlusNonNullIsNull()
boolean
nullsAreSortedAtEnd()
boolean
nullsAreSortedAtStart()
boolean
nullsAreSortedHigh()
boolean
nullsAreSortedLow()
boolean
othersDeletesAreVisible(int a0)
boolean
othersInsertsAreVisible(int a0)
boolean
othersUpdatesAreVisible(int a0)
boolean
ownDeletesAreVisible(int a0)
boolean
ownInsertsAreVisible(int a0)
boolean
ownUpdatesAreVisible(int a0)
void
setupDriverName(String driverName)
boolean
storesLowerCaseIdentifiers()
boolean
storesLowerCaseQuotedIdentifiers()
boolean
storesMixedCaseIdentifiers()
boolean
storesMixedCaseQuotedIdentifiers()
boolean
storesUpperCaseIdentifiers()
boolean
storesUpperCaseQuotedIdentifiers()
boolean
supportsANSI92EntryLevelSQL()
boolean
supportsANSI92FullSQL()
boolean
supportsANSI92IntermediateSQL()
boolean
supportsAlterTableWithAddColumn()
boolean
supportsAlterTableWithDropColumn()
boolean
supportsBatchUpdates()
boolean
supportsCatalogsInDataManipulation()
boolean
supportsCatalogsInIndexDefinitions()
boolean
supportsCatalogsInPrivilegeDefinitions()
boolean
supportsCatalogsInProcedureCalls()
boolean
supportsCatalogsInTableDefinitions()
boolean
supportsColumnAliasing()
boolean
supportsConvert()
boolean
supportsConvert(int a0, int a1)
boolean
supportsCoreSQLGrammar()
boolean
supportsCorrelatedSubqueries()
boolean
supportsDataDefinitionAndDataManipulationTransactions()
boolean
supportsDataManipulationTransactionsOnly()
boolean
supportsDifferentTableCorrelationNames()
boolean
supportsExpressionsInOrderBy()
boolean
supportsExtendedSQLGrammar()
boolean
supportsFullOuterJoins()
boolean
supportsGetGeneratedKeys()
boolean
supportsGroupBy()
boolean
supportsGroupByBeyondSelect()
boolean
supportsGroupByUnrelated()
boolean
supportsIntegrityEnhancementFacility()
boolean
supportsLikeEscapeClause()
boolean
supportsLimitedOuterJoins()
boolean
supportsMinimumSQLGrammar()
boolean
supportsMixedCaseIdentifiers()
boolean
supportsMixedCaseQuotedIdentifiers()
boolean
supportsMultipleOpenResults()
boolean
supportsMultipleResultSets()
boolean
supportsMultipleTransactions()
boolean
supportsNamedParameters()
boolean
supportsNonNullableColumns()
boolean
supportsOpenCursorsAcrossCommit()
boolean
supportsOpenCursorsAcrossRollback()
boolean
supportsOpenStatementsAcrossCommit()
boolean
supportsOpenStatementsAcrossRollback()
boolean
supportsOrderByUnrelated()
boolean
supportsOuterJoins()
boolean
supportsPositionedDelete()
boolean
supportsPositionedUpdate()
boolean
supportsResultSetConcurrency(int a0, int a1)
boolean
supportsResultSetHoldability(int a0)
boolean
supportsResultSetType(int a0)
boolean
supportsSavepoints()
boolean
supportsSchemasInDataManipulation()
boolean
supportsSchemasInIndexDefinitions()
boolean
supportsSchemasInPrivilegeDefinitions()
boolean
supportsSchemasInProcedureCalls()
boolean
supportsSchemasInTableDefinitions()
boolean
supportsSelectForUpdate()
boolean
supportsStatementPooling()
boolean
supportsStoredProcedures()
boolean
supportsSubqueriesInComparisons()
boolean
supportsSubqueriesInExists()
boolean
supportsSubqueriesInIns()
boolean
supportsSubqueriesInQuantifieds()
boolean
supportsTableCorrelationNames()
boolean
supportsTransactionIsolationLevel(int a0)
boolean
supportsTransactions()
boolean
supportsUnion()
boolean
supportsUnionAll()
boolean
updatesAreDetected(int a0)
boolean
usesLocalFilePerTable()
boolean
usesLocalFiles()

Methods inherited from class com.mockobjects.MockObject

notImplemented, notYetImplemented, verify

Method Details

allProceduresAreCallable

public boolean allProceduresAreCallable()
            throws SQLException

allTablesAreSelectable

public boolean allTablesAreSelectable()
            throws SQLException

dataDefinitionCausesTransactionCommit

public boolean dataDefinitionCausesTransactionCommit()
            throws SQLException

dataDefinitionIgnoredInTransactions

public boolean dataDefinitionIgnoredInTransactions()
            throws SQLException

deletesAreDetected

public boolean deletesAreDetected(int a0)
            throws SQLException

doesMaxRowSizeIncludeBlobs

public boolean doesMaxRowSizeIncludeBlobs()
            throws SQLException

getAttributes

public ResultSet getAttributes(String a0,
                               String a1,
                               String a2,
                               String a3)
            throws SQLException

getBestRowIdentifier

public ResultSet getBestRowIdentifier(String a0,
                                      String a1,
                                      String a2,
                                      int a3,
                                      boolean a4)
            throws SQLException

getCatalogSeparator

public String getCatalogSeparator()
            throws SQLException

getCatalogTerm

public String getCatalogTerm()
            throws SQLException

getCatalogs

public ResultSet getCatalogs()
            throws SQLException

getColumnPrivileges

public ResultSet getColumnPrivileges(String a0,
                                     String a1,
                                     String a2,
                                     String a3)
            throws SQLException

getColumns

public ResultSet getColumns(String a0,
                            String a1,
                            String a2,
                            String a3)
            throws SQLException

getConnection

public Connection getConnection()
            throws SQLException

getCrossReference

public ResultSet getCrossReference(String a0,
                                   String a1,
                                   String a2,
                                   String a3,
                                   String a4,
                                   String a5)
            throws SQLException

getDatabaseMajorVersion

public int getDatabaseMajorVersion()
            throws SQLException

getDatabaseMinorVersion

public int getDatabaseMinorVersion()
            throws SQLException

getDatabaseProductName

public String getDatabaseProductName()
            throws SQLException

getDatabaseProductVersion

public String getDatabaseProductVersion()
            throws SQLException

getDefaultTransactionIsolation

public int getDefaultTransactionIsolation()
            throws SQLException

getDriverMajorVersion

public int getDriverMajorVersion()

getDriverMinorVersion

public int getDriverMinorVersion()

getDriverName

public String getDriverName()
            throws SQLException

getDriverVersion

public String getDriverVersion()
            throws SQLException

getExportedKeys

public ResultSet getExportedKeys(String a0,
                                 String a1,
                                 String a2)
            throws SQLException

getExtraNameCharacters

public String getExtraNameCharacters()
            throws SQLException

getIdentifierQuoteString

public String getIdentifierQuoteString()
            throws SQLException

getImportedKeys

public ResultSet getImportedKeys(String a0,
                                 String a1,
                                 String a2)
            throws SQLException

getIndexInfo

public ResultSet getIndexInfo(String a0,
                              String a1,
                              String a2,
                              boolean a3,
                              boolean a4)
            throws SQLException

getJDBCMajorVersion

public int getJDBCMajorVersion()
            throws SQLException

getJDBCMinorVersion

public int getJDBCMinorVersion()
            throws SQLException

getMaxBinaryLiteralLength

public int getMaxBinaryLiteralLength()
            throws SQLException

getMaxCatalogNameLength

public int getMaxCatalogNameLength()
            throws SQLException

getMaxCharLiteralLength

public int getMaxCharLiteralLength()
            throws SQLException

getMaxColumnNameLength

public int getMaxColumnNameLength()
            throws SQLException

getMaxColumnsInGroupBy

public int getMaxColumnsInGroupBy()
            throws SQLException

getMaxColumnsInIndex

public int getMaxColumnsInIndex()
            throws SQLException

getMaxColumnsInOrderBy

public int getMaxColumnsInOrderBy()
            throws SQLException

getMaxColumnsInSelect

public int getMaxColumnsInSelect()
            throws SQLException

getMaxColumnsInTable

public int getMaxColumnsInTable()
            throws SQLException

getMaxConnections

public int getMaxConnections()
            throws SQLException

getMaxCursorNameLength

public int getMaxCursorNameLength()
            throws SQLException

getMaxIndexLength

public int getMaxIndexLength()
            throws SQLException

getMaxProcedureNameLength

public int getMaxProcedureNameLength()
            throws SQLException

getMaxRowSize

public int getMaxRowSize()
            throws SQLException

getMaxSchemaNameLength

public int getMaxSchemaNameLength()
            throws SQLException

getMaxStatementLength

public int getMaxStatementLength()
            throws SQLException

getMaxStatements

public int getMaxStatements()
            throws SQLException

getMaxTableNameLength

public int getMaxTableNameLength()
            throws SQLException

getMaxTablesInSelect

public int getMaxTablesInSelect()
            throws SQLException

getMaxUserNameLength

public int getMaxUserNameLength()
            throws SQLException

getNumericFunctions

public String getNumericFunctions()
            throws SQLException

getPrimaryKeys

public ResultSet getPrimaryKeys(String a0,
                                String a1,
                                String a2)
            throws SQLException

getProcedureColumns

public ResultSet getProcedureColumns(String a0,
                                     String a1,
                                     String a2,
                                     String a3)
            throws SQLException

getProcedureTerm

public String getProcedureTerm()
            throws SQLException

getProcedures

public ResultSet getProcedures(String a0,
                               String a1,
                               String a2)
            throws SQLException

getResultSetHoldability

public int getResultSetHoldability()
            throws SQLException

getSQLKeywords

public String getSQLKeywords()
            throws SQLException

getSQLStateType

public int getSQLStateType()
            throws SQLException

getSchemaTerm

public String getSchemaTerm()
            throws SQLException

getSchemas

public ResultSet getSchemas()
            throws SQLException

getSearchStringEscape

public String getSearchStringEscape()
            throws SQLException

getStringFunctions

public String getStringFunctions()
            throws SQLException

getSuperTables

public ResultSet getSuperTables(String a0,
                                String a1,
                                String a2)
            throws SQLException

getSuperTypes

public ResultSet getSuperTypes(String a0,
                               String a1,
                               String a2)
            throws SQLException

getSystemFunctions

public String getSystemFunctions()
            throws SQLException

getTablePrivileges

public ResultSet getTablePrivileges(String a0,
                                    String a1,
                                    String a2)
            throws SQLException

getTableTypes

public ResultSet getTableTypes()
            throws SQLException

getTables

public ResultSet getTables(String a0,
                           String a1,
                           String a2,
                           String[] a3)
            throws SQLException

getTimeDateFunctions

public String getTimeDateFunctions()
            throws SQLException

getTypeInfo

public ResultSet getTypeInfo()
            throws SQLException

getUDTs

public ResultSet getUDTs(String a0,
                         String a1,
                         String a2,
                         int[] a3)
            throws SQLException

getURL

public String getURL()
            throws SQLException

getUserName

public String getUserName()
            throws SQLException

getVersionColumns

public ResultSet getVersionColumns(String a0,
                                   String a1,
                                   String a2)
            throws SQLException

insertsAreDetected

public boolean insertsAreDetected(int a0)
            throws SQLException

isCatalogAtStart

public boolean isCatalogAtStart()
            throws SQLException

isReadOnly

public boolean isReadOnly()
            throws SQLException

locatorsUpdateCopy

public boolean locatorsUpdateCopy()
            throws SQLException

nullPlusNonNullIsNull

public boolean nullPlusNonNullIsNull()
            throws SQLException

nullsAreSortedAtEnd

public boolean nullsAreSortedAtEnd()
            throws SQLException

nullsAreSortedAtStart

public boolean nullsAreSortedAtStart()
            throws SQLException

nullsAreSortedHigh

public boolean nullsAreSortedHigh()
            throws SQLException

nullsAreSortedLow

public boolean nullsAreSortedLow()
            throws SQLException

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int a0)
            throws SQLException

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int a0)
            throws SQLException

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int a0)
            throws SQLException

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int a0)
            throws SQLException

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int a0)
            throws SQLException

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int a0)
            throws SQLException

setupDriverName

public void setupDriverName(String driverName)

storesLowerCaseIdentifiers

public boolean storesLowerCaseIdentifiers()
            throws SQLException

storesLowerCaseQuotedIdentifiers

public boolean storesLowerCaseQuotedIdentifiers()
            throws SQLException

storesMixedCaseIdentifiers

public boolean storesMixedCaseIdentifiers()
            throws SQLException

storesMixedCaseQuotedIdentifiers

public boolean storesMixedCaseQuotedIdentifiers()
            throws SQLException

storesUpperCaseIdentifiers

public boolean storesUpperCaseIdentifiers()
            throws SQLException

storesUpperCaseQuotedIdentifiers

public boolean storesUpperCaseQuotedIdentifiers()
            throws SQLException

supportsANSI92EntryLevelSQL

public boolean supportsANSI92EntryLevelSQL()
            throws SQLException

supportsANSI92FullSQL

public boolean supportsANSI92FullSQL()
            throws SQLException

supportsANSI92IntermediateSQL

public boolean supportsANSI92IntermediateSQL()
            throws SQLException

supportsAlterTableWithAddColumn

public boolean supportsAlterTableWithAddColumn()
            throws SQLException

supportsAlterTableWithDropColumn

public boolean supportsAlterTableWithDropColumn()
            throws SQLException

supportsBatchUpdates

public boolean supportsBatchUpdates()
            throws SQLException

supportsCatalogsInDataManipulation

public boolean supportsCatalogsInDataManipulation()
            throws SQLException

supportsCatalogsInIndexDefinitions

public boolean supportsCatalogsInIndexDefinitions()
            throws SQLException

supportsCatalogsInPrivilegeDefinitions

public boolean supportsCatalogsInPrivilegeDefinitions()
            throws SQLException

supportsCatalogsInProcedureCalls

public boolean supportsCatalogsInProcedureCalls()
            throws SQLException

supportsCatalogsInTableDefinitions

public boolean supportsCatalogsInTableDefinitions()
            throws SQLException

supportsColumnAliasing

public boolean supportsColumnAliasing()
            throws SQLException

supportsConvert

public boolean supportsConvert()
            throws SQLException

supportsConvert

public boolean supportsConvert(int a0,
                               int a1)
            throws SQLException

supportsCoreSQLGrammar

public boolean supportsCoreSQLGrammar()
            throws SQLException

supportsCorrelatedSubqueries

public boolean supportsCorrelatedSubqueries()
            throws SQLException

supportsDataDefinitionAndDataManipulationTransactions

public boolean supportsDataDefinitionAndDataManipulationTransactions()
            throws SQLException

supportsDataManipulationTransactionsOnly

public boolean supportsDataManipulationTransactionsOnly()
            throws SQLException

supportsDifferentTableCorrelationNames

public boolean supportsDifferentTableCorrelationNames()
            throws SQLException

supportsExpressionsInOrderBy

public boolean supportsExpressionsInOrderBy()
            throws SQLException

supportsExtendedSQLGrammar

public boolean supportsExtendedSQLGrammar()
            throws SQLException

supportsFullOuterJoins

public boolean supportsFullOuterJoins()
            throws SQLException

supportsGetGeneratedKeys

public boolean supportsGetGeneratedKeys()
            throws SQLException

supportsGroupBy

public boolean supportsGroupBy()
            throws SQLException

supportsGroupByBeyondSelect

public boolean supportsGroupByBeyondSelect()
            throws SQLException

supportsGroupByUnrelated

public boolean supportsGroupByUnrelated()
            throws SQLException

supportsIntegrityEnhancementFacility

public boolean supportsIntegrityEnhancementFacility()
            throws SQLException

supportsLikeEscapeClause

public boolean supportsLikeEscapeClause()
            throws SQLException

supportsLimitedOuterJoins

public boolean supportsLimitedOuterJoins()
            throws SQLException

supportsMinimumSQLGrammar

public boolean supportsMinimumSQLGrammar()
            throws SQLException

supportsMixedCaseIdentifiers

public boolean supportsMixedCaseIdentifiers()
            throws SQLException

supportsMixedCaseQuotedIdentifiers

public boolean supportsMixedCaseQuotedIdentifiers()
            throws SQLException

supportsMultipleOpenResults

public boolean supportsMultipleOpenResults()
            throws SQLException

supportsMultipleResultSets

public boolean supportsMultipleResultSets()
            throws SQLException

supportsMultipleTransactions

public boolean supportsMultipleTransactions()
            throws SQLException

supportsNamedParameters

public boolean supportsNamedParameters()
            throws SQLException

supportsNonNullableColumns

public boolean supportsNonNullableColumns()
            throws SQLException

supportsOpenCursorsAcrossCommit

public boolean supportsOpenCursorsAcrossCommit()
            throws SQLException

supportsOpenCursorsAcrossRollback

public boolean supportsOpenCursorsAcrossRollback()
            throws SQLException

supportsOpenStatementsAcrossCommit

public boolean supportsOpenStatementsAcrossCommit()
            throws SQLException

supportsOpenStatementsAcrossRollback

public boolean supportsOpenStatementsAcrossRollback()
            throws SQLException

supportsOrderByUnrelated

public boolean supportsOrderByUnrelated()
            throws SQLException

supportsOuterJoins

public boolean supportsOuterJoins()
            throws SQLException

supportsPositionedDelete

public boolean supportsPositionedDelete()
            throws SQLException

supportsPositionedUpdate

public boolean supportsPositionedUpdate()
            throws SQLException

supportsResultSetConcurrency

public boolean supportsResultSetConcurrency(int a0,
                                            int a1)
            throws SQLException

supportsResultSetHoldability

public boolean supportsResultSetHoldability(int a0)
            throws SQLException

supportsResultSetType

public boolean supportsResultSetType(int a0)
            throws SQLException

supportsSavepoints

public boolean supportsSavepoints()
            throws SQLException

supportsSchemasInDataManipulation

public boolean supportsSchemasInDataManipulation()
            throws SQLException

supportsSchemasInIndexDefinitions

public boolean supportsSchemasInIndexDefinitions()
            throws SQLException

supportsSchemasInPrivilegeDefinitions

public boolean supportsSchemasInPrivilegeDefinitions()
            throws SQLException

supportsSchemasInProcedureCalls

public boolean supportsSchemasInProcedureCalls()
            throws SQLException

supportsSchemasInTableDefinitions

public boolean supportsSchemasInTableDefinitions()
            throws SQLException

supportsSelectForUpdate

public boolean supportsSelectForUpdate()
            throws SQLException

supportsStatementPooling

public boolean supportsStatementPooling()
            throws SQLException

supportsStoredProcedures

public boolean supportsStoredProcedures()
            throws SQLException

supportsSubqueriesInComparisons

public boolean supportsSubqueriesInComparisons()
            throws SQLException

supportsSubqueriesInExists

public boolean supportsSubqueriesInExists()
            throws SQLException

supportsSubqueriesInIns

public boolean supportsSubqueriesInIns()
            throws SQLException

supportsSubqueriesInQuantifieds

public boolean supportsSubqueriesInQuantifieds()
            throws SQLException

supportsTableCorrelationNames

public boolean supportsTableCorrelationNames()
            throws SQLException

supportsTransactionIsolationLevel

public boolean supportsTransactionIsolationLevel(int a0)
            throws SQLException

supportsTransactions

public boolean supportsTransactions()
            throws SQLException

supportsUnion

public boolean supportsUnion()
            throws SQLException

supportsUnionAll

public boolean supportsUnionAll()
            throws SQLException

updatesAreDetected

public boolean updatesAreDetected(int a0)
            throws SQLException

usesLocalFilePerTable

public boolean usesLocalFilePerTable()
            throws SQLException

usesLocalFiles

public boolean usesLocalFiles()
            throws SQLException

Copyright © 2002 Mock Objects. All Rights Reserved.