Class DatabaseMetaDataImpl
- java.lang.Object
-
- org.teiid.jdbc.WrapperImpl
-
- org.teiid.jdbc.DatabaseMetaDataImpl
-
- All Implemented Interfaces:
DatabaseMetaData
,Wrapper
public class DatabaseMetaDataImpl extends WrapperImpl implements DatabaseMetaData
-
-
Field Summary
Fields Modifier and Type Field Description static String
NULL_SORT
static String
REPORT_AS_VIEWS
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allProceduresAreCallable()
boolean
allTablesAreSelectable()
boolean
autoCommitFailureClosesAllResultSets()
boolean
dataDefinitionCausesTransactionCommit()
Checks whether a DDL statement within a transaction forces the transaction to commit.boolean
dataDefinitionIgnoredInTransactions()
Checks whether a DDL statement within a transaction is ignored.boolean
deletesAreDetected(int type)
boolean
doesMaxRowSizeIncludeBlobs()
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?boolean
generatedKeyAlwaysReturned()
ResultSet
getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)
ResultSet
getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)
ResultSet
getCatalogs()
String
getCatalogSeparator()
Gets the String object used to separate a catalog name and a table nameString
getCatalogTerm()
ResultSet
getClientInfoProperties()
ResultSet
getColumnPrivileges(String catalog, String schema, String table, String columnName)
ResultSet
getColumns(String catalog, String schema, String tableNamePattern, String columnNamePattern)
Connection
getConnection()
ResultSet
getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)
int
getDatabaseMajorVersion()
Retrieves the major version number of the underlying database.int
getDatabaseMinorVersion()
Retrieves the minor version number of the underlying database.String
getDatabaseProductName()
Gets the product name for this databaseString
getDatabaseProductVersion()
int
getDefaultTransactionIsolation()
int
getDriverMajorVersion()
Gets this drivers major version numberint
getDriverMinorVersion()
Gets this drivers minor version numberString
getDriverName()
Get the name of this JDBC driverString
getDriverVersion()
This method gets the version of this JDBC driver.ResultSet
getExportedKeys(String catalog, String schema, String table)
String
getExtraNameCharacters()
Gets the extra characters that can be used in unquoted identifier names (those beyond a-z, 0-9, and _)ResultSet
getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern)
ResultSet
getFunctions(String catalog, String schemaPattern, String functionNamePattern)
String
getIdentifierQuoteString()
Get's the string used to quote SQL identifiers.ResultSet
getImportedKeys(String catalog, String schema, String table)
ResultSet
getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)
int
getJDBCMajorVersion()
Retrieves the major JDBC version number for this driver.int
getJDBCMinorVersion()
Retrieves the minor JDBC version number for this driver.int
getMaxBinaryLiteralLength()
Gets the maximum number of hexadecimal characters allowed in an inline binary literalint
getMaxCatalogNameLength()
Gets the maximum number of characters allowed in a catalog nameint
getMaxCharLiteralLength()
Gets the maximum number of characters allowed in a character literalint
getMaxColumnNameLength()
Gets the maximum number of characters allowed in a column nameint
getMaxColumnsInGroupBy()
Gets the maximum number of columns allowed in a GROUP BY clauseint
getMaxColumnsInIndex()
Gets the maximum number of columns allowed in an indexint
getMaxColumnsInOrderBy()
Gets the maximum number of columns allowed in a ORDER BY clauseint
getMaxColumnsInSelect()
Gets the maximum number of columns allowed in a SELECT clauseint
getMaxColumnsInTable()
int
getMaxConnections()
int
getMaxCursorNameLength()
int
getMaxIndexLength()
int
getMaxProcedureNameLength()
Gets the maximum number of characters allowed in a procedure nameint
getMaxRowSize()
Gets the maximum number of bytes allowed in a single rowint
getMaxSchemaNameLength()
Gets the maximum number of characters allowed in a schema nameint
getMaxStatementLength()
Gets the maximum number of characters allowed in an SQL statementint
getMaxStatements()
Gets the maximum number of active statements that may be open on one connection at any timeint
getMaxTableNameLength()
Gets the maximum number of characters allowed in a table nameint
getMaxTablesInSelect()
Gets the maximum number of tables allowed in a SELECT clauseint
getMaxUserNameLength()
Gets the maximum number of characters allowed in a user nameString
getNumericFunctions()
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)
String
getProcedureTerm()
ResultSet
getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)
int
getResultSetHoldability()
RowIdLifetime
getRowIdLifetime()
ResultSet
getSchemas()
ResultSet
getSchemas(String catalog, String schemaPattern)
String
getSchemaTerm()
String
getSearchStringEscape()
Gets the string that can be used to escape "_" or "%" wildcards in the string search pattern used for search parametersString
getSQLKeywords()
int
getSQLStateType()
Indicates whether the SQLSTATE returned by SQLException.getSQLState is X/Open (now known as Open Group) SQL CLI or SQL99.String
getStringFunctions()
ResultSet
getSuperTables(String catalog, String schemaPattern, String tableNamePattern)
Retrieves a description of the table hierarchies defined in a particular schema in this database.ResultSet
getSuperTypes(String catalog, String schemaPattern, String tableNamePattern)
Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database.String
getSystemFunctions()
ResultSet
getTablePrivileges(String catalog, String schemaPattern, String tableName)
ResultSet
getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
ResultSet
getTableTypes()
String
getTimeDateFunctions()
ResultSet
getTypeInfo()
ResultSet
getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)
Gets a description of the user-defined types defined in a particular schema.String
getURL()
String
getUserName()
ResultSet
getVersionColumns(String catalog, String schema, String table)
boolean
insertsAreDetected(int type)
boolean
isCatalogAtStart()
Checks whether a catalog name appears at the start of a fully qualified table name.boolean
isReadOnly()
boolean
locatorsUpdateCopy()
Indicates whether updates made to a LOB are made on a copy or directly to the LOB.boolean
nullPlusNonNullIsNull()
Checks whether the concatenation of a NULL value and a non-NULL value results in a NULL value.boolean
nullsAreSortedAtEnd()
Checks whether NULL values are sorted at the end regardless of sort order.boolean
nullsAreSortedAtStart()
Checks whether NULL values are sorted at the start regardless of sort order.boolean
nullsAreSortedHigh()
Checks whether NULL values are sorted high.boolean
nullsAreSortedLow()
Checks whether NULL values are sorted low.boolean
othersDeletesAreVisible(int type)
boolean
othersInsertsAreVisible(int type)
boolean
othersUpdatesAreVisible(int type)
boolean
ownDeletesAreVisible(int type)
boolean
ownInsertsAreVisible(int type)
boolean
ownUpdatesAreVisible(int type)
boolean
storesLowerCaseIdentifiers()
boolean
storesLowerCaseQuotedIdentifiers()
boolean
storesMixedCaseIdentifiers()
boolean
storesMixedCaseQuotedIdentifiers()
boolean
storesUpperCaseIdentifiers()
boolean
storesUpperCaseQuotedIdentifiers()
boolean
supportsAlterTableWithAddColumn()
boolean
supportsAlterTableWithDropColumn()
boolean
supportsANSI92EntryLevelSQL()
boolean
supportsANSI92FullSQL()
boolean
supportsANSI92IntermediateSQL()
boolean
supportsBatchUpdates()
Indicates whether the driver supports batch updates.boolean
supportsCatalogsInDataManipulation()
boolean
supportsCatalogsInIndexDefinitions()
boolean
supportsCatalogsInPrivilegeDefinitions()
boolean
supportsCatalogsInProcedureCalls()
boolean
supportsCatalogsInTableDefinitions()
boolean
supportsColumnAliasing()
boolean
supportsConvert()
boolean
supportsConvert(int fromType, int toType)
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 type, int concurrency)
boolean
supportsResultSetHoldability(int holdability)
boolean
supportsResultSetType(int type)
Does the database support the given result set type?boolean
supportsSavepoints()
boolean
supportsSchemasInDataManipulation()
boolean
supportsSchemasInIndexDefinitions()
boolean
supportsSchemasInPrivilegeDefinitions()
boolean
supportsSchemasInProcedureCalls()
boolean
supportsSchemasInTableDefinitions()
boolean
supportsSelectForUpdate()
boolean
supportsStatementPooling()
boolean
supportsStoredFunctionsUsingCallSyntax()
boolean
supportsStoredProcedures()
boolean
supportsSubqueriesInComparisons()
boolean
supportsSubqueriesInExists()
boolean
supportsSubqueriesInIns()
boolean
supportsSubqueriesInQuantifieds()
boolean
supportsTableCorrelationNames()
boolean
supportsTransactionIsolationLevel(int level)
boolean
supportsTransactions()
boolean
supportsUnion()
boolean
supportsUnionAll()
boolean
updatesAreDetected(int type)
boolean
usesLocalFilePerTable()
boolean
usesLocalFiles()
-
Methods inherited from class org.teiid.jdbc.WrapperImpl
isWrapperFor, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.DatabaseMetaData
getMaxLogicalLobSize, supportsRefCursors, supportsSharding
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
Field Detail
-
REPORT_AS_VIEWS
public static final String REPORT_AS_VIEWS
- See Also:
- Constant Field Values
-
NULL_SORT
public static final String NULL_SORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
allProceduresAreCallable
public boolean allProceduresAreCallable() throws SQLException
- Specified by:
allProceduresAreCallable
in interfaceDatabaseMetaData
- Throws:
SQLException
-
allTablesAreSelectable
public boolean allTablesAreSelectable() throws SQLException
- Specified by:
allTablesAreSelectable
in interfaceDatabaseMetaData
- Throws:
SQLException
-
dataDefinitionCausesTransactionCommit
public boolean dataDefinitionCausesTransactionCommit() throws SQLException
Checks whether a DDL statement within a transaction forces the transaction to commit.
- Specified by:
dataDefinitionCausesTransactionCommit
in interfaceDatabaseMetaData
- Returns:
- if so return true else return false.
- Throws:
SQLException
- Should never occur.
-
dataDefinitionIgnoredInTransactions
public boolean dataDefinitionIgnoredInTransactions() throws SQLException
Checks whether a DDL statement within a transaction is ignored.
- Specified by:
dataDefinitionIgnoredInTransactions
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false
- Throws:
SQLException
- Should never occur.
-
deletesAreDetected
public boolean deletesAreDetected(int type) throws SQLException
- Specified by:
deletesAreDetected
in interfaceDatabaseMetaData
- Throws:
SQLException
-
doesMaxRowSizeIncludeBlobs
public boolean doesMaxRowSizeIncludeBlobs() throws SQLException
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?
- Specified by:
doesMaxRowSizeIncludeBlobs
in interfaceDatabaseMetaData
- Returns:
true
if so;false
otherwise- Throws:
SQLException
- should never occur
-
getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException
- Specified by:
getBestRowIdentifier
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getCatalogs
public ResultSet getCatalogs() throws SQLException
- Specified by:
getCatalogs
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getCatalogSeparator
public String getCatalogSeparator() throws SQLException
Gets the String object used to separate a catalog name and a table name
- Specified by:
getCatalogSeparator
in interfaceDatabaseMetaData
- Returns:
- String delimiter
- Throws:
SQLException
- should never occur.
-
getCatalogTerm
public String getCatalogTerm() throws SQLException
- Specified by:
getCatalogTerm
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnName) throws SQLException
- Specified by:
getColumnPrivileges
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getColumns
public ResultSet getColumns(String catalog, String schema, String tableNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getCrossReference
public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException
- Specified by:
getCrossReference
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getDatabaseMinorVersion
public int getDatabaseMinorVersion() throws SQLException
Retrieves the minor version number of the underlying database.- Specified by:
getDatabaseMinorVersion
in interfaceDatabaseMetaData
- Returns:
- intValue of database's minor version
- Throws:
SQLException
- if a database access error occurs.
-
getDatabaseMajorVersion
public int getDatabaseMajorVersion() throws SQLException
Retrieves the major version number of the underlying database.- Specified by:
getDatabaseMajorVersion
in interfaceDatabaseMetaData
- Returns:
- intValue of database's minor version
- Throws:
SQLException
- if a database access error occurs.
-
getJDBCMajorVersion
public int getJDBCMajorVersion() throws SQLException
Retrieves the major JDBC version number for this driver.- Specified by:
getJDBCMajorVersion
in interfaceDatabaseMetaData
- Returns:
- intValue JDBC major version number
- Throws:
SQLException
- should never occur.
-
getJDBCMinorVersion
public int getJDBCMinorVersion() throws SQLException
Retrieves the minor JDBC version number for this driver.- Specified by:
getJDBCMinorVersion
in interfaceDatabaseMetaData
- Returns:
- intValue JDBC major version number
- Throws:
SQLException
- should never occur.
-
getDatabaseProductName
public String getDatabaseProductName() throws SQLException
Gets the product name for this database
- Specified by:
getDatabaseProductName
in interfaceDatabaseMetaData
- Returns:
- String representing the product name
- Throws:
SQLException
- should never occur.
-
getDatabaseProductVersion
public String getDatabaseProductVersion() throws SQLException
- Specified by:
getDatabaseProductVersion
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getDefaultTransactionIsolation
public int getDefaultTransactionIsolation() throws SQLException
- Specified by:
getDefaultTransactionIsolation
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getDriverMajorVersion
public int getDriverMajorVersion()
Gets this drivers major version number
- Specified by:
getDriverMajorVersion
in interfaceDatabaseMetaData
- Returns:
- int representing the driver's major version
-
getDriverMinorVersion
public int getDriverMinorVersion()
Gets this drivers minor version number
- Specified by:
getDriverMinorVersion
in interfaceDatabaseMetaData
- Returns:
- int representing the driver's minor version
-
getDriverName
public String getDriverName() throws SQLException
Get the name of this JDBC driver
- Specified by:
getDriverName
in interfaceDatabaseMetaData
- Returns:
- String representing the driver's name
- Throws:
SQLException
- if the connection is already closed.
-
getDriverVersion
public String getDriverVersion() throws SQLException
This method gets the version of this JDBC driver. It combines the major and minor version numbers
- Specified by:
getDriverVersion
in interfaceDatabaseMetaData
- Returns:
- String representing the driver's version
- Throws:
SQLException
- should never occur.
-
getExportedKeys
public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException
- Specified by:
getExportedKeys
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getExtraNameCharacters
public String getExtraNameCharacters() throws SQLException
Gets the extra characters that can be used in unquoted identifier names (those beyond a-z, 0-9, and _)
- Specified by:
getExtraNameCharacters
in interfaceDatabaseMetaData
- Returns:
- String representing extra charachters that can be used in identifier names.
- Throws:
SQLException
- should never occur
-
getIdentifierQuoteString
public String getIdentifierQuoteString() throws SQLException
Get's the string used to quote SQL identifiers. This returns a " " if identifier quoting is not supported.
- Specified by:
getIdentifierQuoteString
in interfaceDatabaseMetaData
- Returns:
- string used to quote SQL identifiers.
- Throws:
SQLException
- should never occur
-
getImportedKeys
public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException
- Specified by:
getImportedKeys
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getIndexInfo
public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
- Specified by:
getIndexInfo
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getMaxBinaryLiteralLength
public int getMaxBinaryLiteralLength() throws SQLException
Gets the maximum number of hexadecimal characters allowed in an inline binary literal
- Specified by:
getMaxBinaryLiteralLength
in interfaceDatabaseMetaData
- Returns:
- int value giving maximum length of a binary literal
- Throws:
SQLException
- should never occur
-
getMaxCatalogNameLength
public int getMaxCatalogNameLength() throws SQLException
Gets the maximum number of characters allowed in a catalog name
- Specified by:
getMaxCatalogNameLength
in interfaceDatabaseMetaData
- Returns:
- int value giving maximum length of a catalog name
- Throws:
SQLException
- should never occur
-
getMaxCharLiteralLength
public int getMaxCharLiteralLength() throws SQLException
Gets the maximum number of characters allowed in a character literal
- Specified by:
getMaxCharLiteralLength
in interfaceDatabaseMetaData
- Returns:
- int value giving maximum length of a charachter literal
- Throws:
SQLException
- should never occur
-
getMaxColumnNameLength
public int getMaxColumnNameLength() throws SQLException
Gets the maximum number of characters allowed in a column name
- Specified by:
getMaxColumnNameLength
in interfaceDatabaseMetaData
- Returns:
- int value giving maximum length of the column name
- Throws:
SQLException
- should never occur
-
getMaxColumnsInGroupBy
public int getMaxColumnsInGroupBy() throws SQLException
Gets the maximum number of columns allowed in a GROUP BY clause
- Specified by:
getMaxColumnsInGroupBy
in interfaceDatabaseMetaData
- Returns:
- int values giving max columns in GROUP BY
- Throws:
SQLException
- should never occur
-
getMaxColumnsInIndex
public int getMaxColumnsInIndex() throws SQLException
Gets the maximum number of columns allowed in an index
- Specified by:
getMaxColumnsInIndex
in interfaceDatabaseMetaData
- Returns:
- int gives maximum columns in an index.
- Throws:
SQLException
- should never occur
-
getMaxColumnsInOrderBy
public int getMaxColumnsInOrderBy() throws SQLException
Gets the maximum number of columns allowed in a ORDER BY clause
- Specified by:
getMaxColumnsInOrderBy
in interfaceDatabaseMetaData
- Returns:
- int gives maximum columns in an order by.
- Throws:
SQLException
- should never occur
-
getMaxColumnsInSelect
public int getMaxColumnsInSelect() throws SQLException
Gets the maximum number of columns allowed in a SELECT clause
- Specified by:
getMaxColumnsInSelect
in interfaceDatabaseMetaData
- Returns:
- int gives maximum columns in a select.
- Throws:
SQLException
- should never occur
-
getMaxColumnsInTable
public int getMaxColumnsInTable() throws SQLException
- Specified by:
getMaxColumnsInTable
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getMaxConnections
public int getMaxConnections() throws SQLException
- Specified by:
getMaxConnections
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getMaxCursorNameLength
public int getMaxCursorNameLength() throws SQLException
- Specified by:
getMaxCursorNameLength
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getMaxIndexLength
public int getMaxIndexLength() throws SQLException
- Specified by:
getMaxIndexLength
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getMaxProcedureNameLength
public int getMaxProcedureNameLength() throws SQLException
Gets the maximum number of characters allowed in a procedure name
- Specified by:
getMaxProcedureNameLength
in interfaceDatabaseMetaData
- Returns:
- int gives maximum length of procedure name.
- Throws:
SQLException
- should never occur
-
getMaxRowSize
public int getMaxRowSize() throws SQLException
Gets the maximum number of bytes allowed in a single row
- Specified by:
getMaxRowSize
in interfaceDatabaseMetaData
- Returns:
- int max row size in the result set.
- Throws:
SQLException
- should never occur
-
getMaxSchemaNameLength
public int getMaxSchemaNameLength() throws SQLException
Gets the maximum number of characters allowed in a schema name
- Specified by:
getMaxSchemaNameLength
in interfaceDatabaseMetaData
- Returns:
- int maximum length of a schema.
- Throws:
SQLException
- should never occur
-
getMaxStatementLength
public int getMaxStatementLength() throws SQLException
Gets the maximum number of characters allowed in an SQL statement
- Specified by:
getMaxStatementLength
in interfaceDatabaseMetaData
- Returns:
- maximum length of a statement
- Throws:
SQLException
- should never occur
-
getMaxStatements
public int getMaxStatements() throws SQLException
Gets the maximum number of active statements that may be open on one connection at any time
- Specified by:
getMaxStatements
in interfaceDatabaseMetaData
- Returns:
- max number of open statements on a connection.
- Throws:
SQLException
- should never occur
-
getMaxTableNameLength
public int getMaxTableNameLength() throws SQLException
Gets the maximum number of characters allowed in a table name
- Specified by:
getMaxTableNameLength
in interfaceDatabaseMetaData
- Returns:
- max length of table name.
- Throws:
SQLException
- should never occur
-
getMaxTablesInSelect
public int getMaxTablesInSelect() throws SQLException
Gets the maximum number of tables allowed in a SELECT clause
- Specified by:
getMaxTablesInSelect
in interfaceDatabaseMetaData
- Returns:
- max tables in a select.
- Throws:
SQLException
- should never occur
-
getMaxUserNameLength
public int getMaxUserNameLength() throws SQLException
Gets the maximum number of characters allowed in a user name
- Specified by:
getMaxUserNameLength
in interfaceDatabaseMetaData
- Returns:
- max length of user name.
- Throws:
SQLException
- should never occur
-
getNumericFunctions
public String getNumericFunctions() throws SQLException
- Specified by:
getNumericFunctions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getPrimaryKeys
public ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException
- Specified by:
getPrimaryKeys
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getProcedureColumns
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getProcedureColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getProcedures
public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
- Specified by:
getProcedures
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getProcedureTerm
public String getProcedureTerm() throws SQLException
- Specified by:
getProcedureTerm
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSchemas
public ResultSet getSchemas() throws SQLException
- Specified by:
getSchemas
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSchemaTerm
public String getSchemaTerm() throws SQLException
- Specified by:
getSchemaTerm
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSearchStringEscape
public String getSearchStringEscape() throws SQLException
Gets the string that can be used to escape "_" or "%" wildcards in the string search pattern used for search parameters
- Specified by:
getSearchStringEscape
in interfaceDatabaseMetaData
- Returns:
- String that is used for escaping wildcards
- Throws:
SQLException
- should never occur
-
getSQLKeywords
public String getSQLKeywords() throws SQLException
- Specified by:
getSQLKeywords
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSQLStateType
public int getSQLStateType() throws SQLException
Indicates whether the SQLSTATE returned by SQLException.getSQLState is X/Open (now known as Open Group) SQL CLI or SQL99.- Specified by:
getSQLStateType
in interfaceDatabaseMetaData
- Returns:
- intValue, the type of SQLSTATE; one of: sqlStateXOpen or sqlStateSQL99
- Throws:
SQLException
-
getStringFunctions
public String getStringFunctions() throws SQLException
- Specified by:
getStringFunctions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSuperTables
public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
Retrieves a description of the table hierarchies defined in a particular schema in this database.- Specified by:
getSuperTables
in interfaceDatabaseMetaData
- Parameters:
catalog
- A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria.schemaPattern
- A schema name pattern; "" retrieves those without a schema.tableNamePattern
- A table name pattern; may be a fully-qualified name.- Throws:
SQLException
- since not supported
-
getSuperTypes
public ResultSet getSuperTypes(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database.- Specified by:
getSuperTypes
in interfaceDatabaseMetaData
- Parameters:
catalog
- A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria.schemaPattern
- A schema name pattern; "" retrieves those without a schema.tableNamePattern
- A table name pattern; may be a fully-qualified name.- Throws:
SQLException
-
getSystemFunctions
public String getSystemFunctions() throws SQLException
- Specified by:
getSystemFunctions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTablePrivileges
public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableName) throws SQLException
- Specified by:
getTablePrivileges
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTables
public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException
- Specified by:
getTables
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTableTypes
public ResultSet getTableTypes() throws SQLException
- Specified by:
getTableTypes
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTimeDateFunctions
public String getTimeDateFunctions() throws SQLException
- Specified by:
getTimeDateFunctions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTypeInfo
public ResultSet getTypeInfo() throws SQLException
- Specified by:
getTypeInfo
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getUDTs
public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
Gets a description of the user-defined types defined in a particular schema. Schema-specific UDTs may have type JAVA_OBJECT, STRUCT, or DISTINCT. Supports 1.4
- Specified by:
getUDTs
in interfaceDatabaseMetaData
- Parameters:
catalog
- a catalog nameschemaPattern
- a schema name patterntypeNamePattern
- a type name patterntypes
- a list of user-named types to include (JAVA_OBJECT, STRUCT, or DISTINCT); null returns all types- Returns:
- ResultSet. Empty ResultSet object as this method is not supported.
- Throws:
SQLException
- if catalog/schema info does not match for the given connection.
-
getURL
public String getURL() throws SQLException
- Specified by:
getURL
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getUserName
public String getUserName() throws SQLException
- Specified by:
getUserName
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getVersionColumns
public ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException
- Specified by:
getVersionColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
isCatalogAtStart
public boolean isCatalogAtStart() throws SQLException
Checks whether a catalog name appears at the start of a fully qualified table name. If it is not at the beginning, it appears at the end.
- Specified by:
isCatalogAtStart
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false.
- Throws:
SQLException
- should never occur.
-
insertsAreDetected
public boolean insertsAreDetected(int type) throws SQLException
- Specified by:
insertsAreDetected
in interfaceDatabaseMetaData
- Throws:
SQLException
-
isReadOnly
public boolean isReadOnly() throws SQLException
- Specified by:
isReadOnly
in interfaceDatabaseMetaData
- Throws:
SQLException
-
locatorsUpdateCopy
public boolean locatorsUpdateCopy() throws SQLException
Indicates whether updates made to a LOB are made on a copy or directly to the LOB.
- Specified by:
locatorsUpdateCopy
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false.
- Throws:
SQLException
- should never occur.
-
nullPlusNonNullIsNull
public boolean nullPlusNonNullIsNull() throws SQLException
Checks whether the concatenation of a NULL value and a non-NULL value results in a NULL value.
- Specified by:
nullPlusNonNullIsNull
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false.
- Throws:
SQLException
- should never occur.
-
nullsAreSortedAtEnd
public boolean nullsAreSortedAtEnd() throws SQLException
Checks whether NULL values are sorted at the end regardless of sort order.
- Specified by:
nullsAreSortedAtEnd
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false.
- Throws:
SQLException
- should never occur.
-
nullsAreSortedAtStart
public boolean nullsAreSortedAtStart() throws SQLException
Checks whether NULL values are sorted at the start regardless of sort order.
- Specified by:
nullsAreSortedAtStart
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false.
- Throws:
SQLException
- should never occur.
-
nullsAreSortedHigh
public boolean nullsAreSortedHigh() throws SQLException
Checks whether NULL values are sorted high.
- Specified by:
nullsAreSortedHigh
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false.
- Throws:
SQLException
- should never occur.
-
nullsAreSortedLow
public boolean nullsAreSortedLow() throws SQLException
Checks whether NULL values are sorted low.
- Specified by:
nullsAreSortedLow
in interfaceDatabaseMetaData
- Returns:
- if so return true, else false.
- Throws:
SQLException
- should never occur.
-
ownUpdatesAreVisible
public boolean ownUpdatesAreVisible(int type) throws SQLException
- Specified by:
ownUpdatesAreVisible
in interfaceDatabaseMetaData
- Throws:
SQLException
-
ownDeletesAreVisible
public boolean ownDeletesAreVisible(int type) throws SQLException
- Specified by:
ownDeletesAreVisible
in interfaceDatabaseMetaData
- Throws:
SQLException
-
ownInsertsAreVisible
public boolean ownInsertsAreVisible(int type) throws SQLException
- Specified by:
ownInsertsAreVisible
in interfaceDatabaseMetaData
- Throws:
SQLException
-
othersUpdatesAreVisible
public boolean othersUpdatesAreVisible(int type) throws SQLException
- Specified by:
othersUpdatesAreVisible
in interfaceDatabaseMetaData
- Throws:
SQLException
-
othersDeletesAreVisible
public boolean othersDeletesAreVisible(int type) throws SQLException
- Specified by:
othersDeletesAreVisible
in interfaceDatabaseMetaData
- Throws:
SQLException
-
othersInsertsAreVisible
public boolean othersInsertsAreVisible(int type) throws SQLException
- Specified by:
othersInsertsAreVisible
in interfaceDatabaseMetaData
- Throws:
SQLException
-
storesLowerCaseIdentifiers
public boolean storesLowerCaseIdentifiers() throws SQLException
- Specified by:
storesLowerCaseIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
storesLowerCaseQuotedIdentifiers
public boolean storesLowerCaseQuotedIdentifiers() throws SQLException
- Specified by:
storesLowerCaseQuotedIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
storesMixedCaseIdentifiers
public boolean storesMixedCaseIdentifiers() throws SQLException
- Specified by:
storesMixedCaseIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
storesMixedCaseQuotedIdentifiers
public boolean storesMixedCaseQuotedIdentifiers() throws SQLException
- Specified by:
storesMixedCaseQuotedIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
storesUpperCaseIdentifiers
public boolean storesUpperCaseIdentifiers() throws SQLException
- Specified by:
storesUpperCaseIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
storesUpperCaseQuotedIdentifiers
public boolean storesUpperCaseQuotedIdentifiers() throws SQLException
- Specified by:
storesUpperCaseQuotedIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsAlterTableWithAddColumn
public boolean supportsAlterTableWithAddColumn() throws SQLException
- Specified by:
supportsAlterTableWithAddColumn
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsAlterTableWithDropColumn
public boolean supportsAlterTableWithDropColumn() throws SQLException
- Specified by:
supportsAlterTableWithDropColumn
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsANSI92EntryLevelSQL
public boolean supportsANSI92EntryLevelSQL() throws SQLException
- Specified by:
supportsANSI92EntryLevelSQL
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsANSI92FullSQL
public boolean supportsANSI92FullSQL() throws SQLException
- Specified by:
supportsANSI92FullSQL
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsANSI92IntermediateSQL
public boolean supportsANSI92IntermediateSQL() throws SQLException
- Specified by:
supportsANSI92IntermediateSQL
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsBatchUpdates
public boolean supportsBatchUpdates() throws SQLException
Indicates whether the driver supports batch updates.
- Specified by:
supportsBatchUpdates
in interfaceDatabaseMetaData
- Returns:
- true if the driver supports batch updates; false otherwise
- Throws:
SQLException
- should never occur
-
supportsCatalogsInDataManipulation
public boolean supportsCatalogsInDataManipulation() throws SQLException
- Specified by:
supportsCatalogsInDataManipulation
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsCatalogsInIndexDefinitions
public boolean supportsCatalogsInIndexDefinitions() throws SQLException
- Specified by:
supportsCatalogsInIndexDefinitions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsCatalogsInPrivilegeDefinitions
public boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException
- Specified by:
supportsCatalogsInPrivilegeDefinitions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsCatalogsInProcedureCalls
public boolean supportsCatalogsInProcedureCalls() throws SQLException
- Specified by:
supportsCatalogsInProcedureCalls
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsCatalogsInTableDefinitions
public boolean supportsCatalogsInTableDefinitions() throws SQLException
- Specified by:
supportsCatalogsInTableDefinitions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsColumnAliasing
public boolean supportsColumnAliasing() throws SQLException
- Specified by:
supportsColumnAliasing
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsConvert
public boolean supportsConvert() throws SQLException
- Specified by:
supportsConvert
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsConvert
public boolean supportsConvert(int fromType, int toType) throws SQLException
- Specified by:
supportsConvert
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsCorrelatedSubqueries
public boolean supportsCorrelatedSubqueries() throws SQLException
- Specified by:
supportsCorrelatedSubqueries
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsCoreSQLGrammar
public boolean supportsCoreSQLGrammar() throws SQLException
- Specified by:
supportsCoreSQLGrammar
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsDataDefinitionAndDataManipulationTransactions
public boolean supportsDataDefinitionAndDataManipulationTransactions() throws SQLException
- Specified by:
supportsDataDefinitionAndDataManipulationTransactions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsDataManipulationTransactionsOnly
public boolean supportsDataManipulationTransactionsOnly() throws SQLException
- Specified by:
supportsDataManipulationTransactionsOnly
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsDifferentTableCorrelationNames
public boolean supportsDifferentTableCorrelationNames() throws SQLException
- Specified by:
supportsDifferentTableCorrelationNames
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsExpressionsInOrderBy
public boolean supportsExpressionsInOrderBy() throws SQLException
- Specified by:
supportsExpressionsInOrderBy
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsExtendedSQLGrammar
public boolean supportsExtendedSQLGrammar() throws SQLException
- Specified by:
supportsExtendedSQLGrammar
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsFullOuterJoins
public boolean supportsFullOuterJoins() throws SQLException
- Specified by:
supportsFullOuterJoins
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys() throws SQLException
- Specified by:
supportsGetGeneratedKeys
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsGroupBy
public boolean supportsGroupBy() throws SQLException
- Specified by:
supportsGroupBy
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsGroupByBeyondSelect
public boolean supportsGroupByBeyondSelect() throws SQLException
- Specified by:
supportsGroupByBeyondSelect
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsGroupByUnrelated
public boolean supportsGroupByUnrelated() throws SQLException
- Specified by:
supportsGroupByUnrelated
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsIntegrityEnhancementFacility
public boolean supportsIntegrityEnhancementFacility() throws SQLException
- Specified by:
supportsIntegrityEnhancementFacility
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsLikeEscapeClause
public boolean supportsLikeEscapeClause() throws SQLException
- Specified by:
supportsLikeEscapeClause
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsLimitedOuterJoins
public boolean supportsLimitedOuterJoins() throws SQLException
- Specified by:
supportsLimitedOuterJoins
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsMinimumSQLGrammar
public boolean supportsMinimumSQLGrammar() throws SQLException
- Specified by:
supportsMinimumSQLGrammar
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsMixedCaseIdentifiers
public boolean supportsMixedCaseIdentifiers() throws SQLException
- Specified by:
supportsMixedCaseIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsMixedCaseQuotedIdentifiers
public boolean supportsMixedCaseQuotedIdentifiers() throws SQLException
- Specified by:
supportsMixedCaseQuotedIdentifiers
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsOpenCursorsAcrossCommit
public boolean supportsOpenCursorsAcrossCommit() throws SQLException
- Specified by:
supportsOpenCursorsAcrossCommit
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsMultipleResultSets
public boolean supportsMultipleResultSets() throws SQLException
- Specified by:
supportsMultipleResultSets
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsMultipleOpenResults
public boolean supportsMultipleOpenResults() throws SQLException
- Specified by:
supportsMultipleOpenResults
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsMultipleTransactions
public boolean supportsMultipleTransactions() throws SQLException
- Specified by:
supportsMultipleTransactions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsNamedParameters
public boolean supportsNamedParameters() throws SQLException
- Specified by:
supportsNamedParameters
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsNonNullableColumns
public boolean supportsNonNullableColumns() throws SQLException
- Specified by:
supportsNonNullableColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsOpenCursorsAcrossRollback
public boolean supportsOpenCursorsAcrossRollback() throws SQLException
- Specified by:
supportsOpenCursorsAcrossRollback
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsOpenStatementsAcrossCommit
public boolean supportsOpenStatementsAcrossCommit() throws SQLException
- Specified by:
supportsOpenStatementsAcrossCommit
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsOpenStatementsAcrossRollback
public boolean supportsOpenStatementsAcrossRollback() throws SQLException
- Specified by:
supportsOpenStatementsAcrossRollback
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsOrderByUnrelated
public boolean supportsOrderByUnrelated() throws SQLException
- Specified by:
supportsOrderByUnrelated
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsOuterJoins
public boolean supportsOuterJoins() throws SQLException
- Specified by:
supportsOuterJoins
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsPositionedDelete
public boolean supportsPositionedDelete() throws SQLException
- Specified by:
supportsPositionedDelete
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsPositionedUpdate
public boolean supportsPositionedUpdate() throws SQLException
- Specified by:
supportsPositionedUpdate
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsResultSetConcurrency
public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQLException
- Specified by:
supportsResultSetConcurrency
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsResultSetHoldability
public boolean supportsResultSetHoldability(int holdability) throws SQLException
- Specified by:
supportsResultSetHoldability
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsResultSetType
public boolean supportsResultSetType(int type) throws SQLException
Does the database support the given result set type?
- Specified by:
supportsResultSetType
in interfaceDatabaseMetaData
- Parameters:
type
- defined injava.sql.ResultSet
- Returns:
true
if so;false
otherwise- Throws:
SQLException
- should never occur- See Also:
Connection
-
supportsSavepoints
public boolean supportsSavepoints() throws SQLException
- Specified by:
supportsSavepoints
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSchemasInDataManipulation
public boolean supportsSchemasInDataManipulation() throws SQLException
- Specified by:
supportsSchemasInDataManipulation
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSchemasInIndexDefinitions
public boolean supportsSchemasInIndexDefinitions() throws SQLException
- Specified by:
supportsSchemasInIndexDefinitions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSchemasInPrivilegeDefinitions
public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException
- Specified by:
supportsSchemasInPrivilegeDefinitions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSchemasInProcedureCalls
public boolean supportsSchemasInProcedureCalls() throws SQLException
- Specified by:
supportsSchemasInProcedureCalls
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSchemasInTableDefinitions
public boolean supportsSchemasInTableDefinitions() throws SQLException
- Specified by:
supportsSchemasInTableDefinitions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSelectForUpdate
public boolean supportsSelectForUpdate() throws SQLException
- Specified by:
supportsSelectForUpdate
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsStatementPooling
public boolean supportsStatementPooling() throws SQLException
- Specified by:
supportsStatementPooling
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsStoredProcedures
public boolean supportsStoredProcedures() throws SQLException
- Specified by:
supportsStoredProcedures
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSubqueriesInComparisons
public boolean supportsSubqueriesInComparisons() throws SQLException
- Specified by:
supportsSubqueriesInComparisons
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSubqueriesInExists
public boolean supportsSubqueriesInExists() throws SQLException
- Specified by:
supportsSubqueriesInExists
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSubqueriesInIns
public boolean supportsSubqueriesInIns() throws SQLException
- Specified by:
supportsSubqueriesInIns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsSubqueriesInQuantifieds
public boolean supportsSubqueriesInQuantifieds() throws SQLException
- Specified by:
supportsSubqueriesInQuantifieds
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsTableCorrelationNames
public boolean supportsTableCorrelationNames() throws SQLException
- Specified by:
supportsTableCorrelationNames
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsTransactionIsolationLevel
public boolean supportsTransactionIsolationLevel(int level) throws SQLException
- Specified by:
supportsTransactionIsolationLevel
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsTransactions
public boolean supportsTransactions() throws SQLException
- Specified by:
supportsTransactions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsUnion
public boolean supportsUnion() throws SQLException
- Specified by:
supportsUnion
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsUnionAll
public boolean supportsUnionAll() throws SQLException
- Specified by:
supportsUnionAll
in interfaceDatabaseMetaData
- Throws:
SQLException
-
updatesAreDetected
public boolean updatesAreDetected(int type) throws SQLException
- Specified by:
updatesAreDetected
in interfaceDatabaseMetaData
- Throws:
SQLException
-
usesLocalFilePerTable
public boolean usesLocalFilePerTable() throws SQLException
- Specified by:
usesLocalFilePerTable
in interfaceDatabaseMetaData
- Throws:
SQLException
-
usesLocalFiles
public boolean usesLocalFiles() throws SQLException
- Specified by:
usesLocalFiles
in interfaceDatabaseMetaData
- Throws:
SQLException
-
autoCommitFailureClosesAllResultSets
public boolean autoCommitFailureClosesAllResultSets() throws SQLException
- Specified by:
autoCommitFailureClosesAllResultSets
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getResultSetHoldability
public int getResultSetHoldability() throws SQLException
- Specified by:
getResultSetHoldability
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getConnection
public Connection getConnection() throws SQLException
- Specified by:
getConnection
in interfaceDatabaseMetaData
- Throws:
SQLException
-
supportsStoredFunctionsUsingCallSyntax
public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException
- Specified by:
supportsStoredFunctionsUsingCallSyntax
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getAttributes
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException
- Specified by:
getAttributes
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getClientInfoProperties
public ResultSet getClientInfoProperties() throws SQLException
- Specified by:
getClientInfoProperties
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getFunctionColumns
public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getFunctionColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getFunctions
public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException
- Specified by:
getFunctions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getRowIdLifetime
public RowIdLifetime getRowIdLifetime() throws SQLException
- Specified by:
getRowIdLifetime
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSchemas
public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException
- Specified by:
getSchemas
in interfaceDatabaseMetaData
- Throws:
SQLException
-
generatedKeyAlwaysReturned
public boolean generatedKeyAlwaysReturned() throws SQLException
- Specified by:
generatedKeyAlwaysReturned
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getPseudoColumns
public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
- Specified by:
getPseudoColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
-