|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.driver.DatabaseMetaData
DatabaseMetaData retrieves most of the values from the C-JDBC controller. If you are using an heterogeneous cluster, the values returned are the one of the first database that was enabled on the controller.
| Field Summary | |
private Connection |
connection
The connection association |
private java.util.HashMap |
metadataContainer
("getXXX(Y,Z, |
| Fields inherited from interface java.sql.DatabaseMetaData |
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown |
| Constructor Summary | |
DatabaseMetaData(Connection conn)
Creates a new DatabaseMetaData instance. |
|
| Method Summary | |
boolean |
allProceduresAreCallable()
|
boolean |
allTablesAreSelectable()
|
boolean |
dataDefinitionCausesTransactionCommit()
|
boolean |
dataDefinitionIgnoredInTransactions()
|
boolean |
deletesAreDetected(int type)
|
boolean |
doesMaxRowSizeIncludeBlobs()
|
java.sql.ResultSet |
getAttributes(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern,
java.lang.String attributeNamePattern)
|
java.sql.ResultSet |
getBestRowIdentifier(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
int scope,
boolean nullable)
|
java.sql.ResultSet |
getCatalogs()
|
java.lang.String |
getCatalogSeparator()
|
java.lang.String |
getCatalogTerm()
|
java.sql.ResultSet |
getColumnPrivileges(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String columnNamePattern)
|
java.sql.ResultSet |
getColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String columnNamePattern)
|
java.sql.Connection |
getConnection()
Retrieves the Connection that produced this
DatabaseMetaData. |
java.sql.ResultSet |
getCrossReference(java.lang.String primaryCatalog,
java.lang.String primarySchema,
java.lang.String primaryTable,
java.lang.String foreignCatalog,
java.lang.String foreignSchema,
java.lang.String foreignTable)
|
int |
getDatabaseMajorVersion()
|
int |
getDatabaseMinorVersion()
|
java.lang.String |
getDatabaseProductName()
We return a comma separated list of database engine names connected to the controller. |
java.lang.String |
getDatabaseProductVersion()
What is the version of this database product. |
int |
getDefaultTransactionIsolation()
|
int |
getDriverMajorVersion()
What is this JDBC driver's major version number? |
int |
getDriverMinorVersion()
What is this JDBC driver's minor version number? |
java.lang.String |
getDriverName()
What is the name of this JDBC driver? |
java.lang.String |
getDriverVersion()
What is the version string of this JDBC driver? |
java.sql.ResultSet |
getExportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
|
java.lang.String |
getExtraNameCharacters()
|
java.lang.String |
getIdentifierQuoteString()
|
java.sql.ResultSet |
getImportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
|
java.sql.ResultSet |
getIndexInfo(java.lang.String catalog,
java.lang.String schema,
java.lang.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()
|
int |
getMaxCatalogNameLength()
|
int |
getMaxCharLiteralLength()
|
int |
getMaxColumnNameLength()
|
int |
getMaxColumnsInGroupBy()
|
int |
getMaxColumnsInIndex()
|
int |
getMaxColumnsInOrderBy()
|
int |
getMaxColumnsInSelect()
|
int |
getMaxColumnsInTable()
|
int |
getMaxConnections()
Maximum number of connections to the database (virtually no limit since these are virtual connections to the Controller). |
int |
getMaxCursorNameLength()
|
int |
getMaxIndexLength()
|
int |
getMaxProcedureNameLength()
|
int |
getMaxRowSize()
|
int |
getMaxSchemaNameLength()
|
int |
getMaxStatementLength()
|
int |
getMaxStatements()
|
int |
getMaxTableNameLength()
|
int |
getMaxTablesInSelect()
|
int |
getMaxUserNameLength()
|
private java.lang.Object |
getMetadata(java.lang.String methodName,
java.lang.Class[] parametersType,
java.lang.Object[] arguments,
boolean allowsNull)
Lazy evaluation of a static metadata value. |
java.lang.String |
getNumericFunctions()
|
java.sql.ResultSet |
getPrimaryKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
|
java.sql.ResultSet |
getProcedureColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern,
java.lang.String columnNamePattern)
|
java.sql.ResultSet |
getProcedures(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern)
|
java.lang.String |
getProcedureTerm()
|
int |
getResultSetHoldability()
|
java.sql.ResultSet |
getSchemas()
|
java.lang.String |
getSchemaTerm()
|
java.lang.String |
getSearchStringEscape()
|
java.lang.String |
getSQLKeywords()
|
int |
getSQLStateType()
|
java.lang.String |
getStringFunctions()
|
java.sql.ResultSet |
getSuperTables(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
|
java.sql.ResultSet |
getSuperTypes(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern)
|
java.lang.String |
getSystemFunctions()
|
java.sql.ResultSet |
getTablePrivileges(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
Gets a description of the access rights for each table available in a catalog. |
java.sql.ResultSet |
getTables(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String[] types)
Gets a description of the available tables. |
java.sql.ResultSet |
getTableTypes()
Gets the table types available in this database. |
java.lang.String |
getTimeDateFunctions()
|
java.sql.ResultSet |
getTypeInfo()
|
java.sql.ResultSet |
getUDTs(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern,
int[] types)
|
java.lang.String |
getURL()
What is the URL for this database? |
java.lang.String |
getUserName()
What is our user name as known to the database? |
java.sql.ResultSet |
getVersionColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
|
boolean |
insertsAreDetected(int type)
|
boolean |
isCatalogAtStart()
|
boolean |
isReadOnly()
Is the database in read-only mode? |
boolean |
locatorsUpdateCopy()
|
boolean |
nullPlusNonNullIsNull()
|
boolean |
nullsAreSortedAtEnd()
|
boolean |
nullsAreSortedAtStart()
|
boolean |
nullsAreSortedHigh()
|
boolean |
nullsAreSortedLow()
|
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()
|
boolean |
supportsCatalogsInDataManipulation()
|
boolean |
supportsCatalogsInIndexDefinitions()
|
boolean |
supportsCatalogsInPrivilegeDefinitions()
|
boolean |
supportsCatalogsInProcedureCalls()
|
boolean |
supportsCatalogsInTableDefinitions()
|
boolean |
supportsColumnAliasing()
|
boolean |
supportsConvert()
|
boolean |
supportsConvert(int fromType,
int toType)
Not implemented (returns false). |
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)
|
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 level)
|
boolean |
supportsTransactions()
|
boolean |
supportsUnion()
|
boolean |
supportsUnionAll()
|
boolean |
updatesAreDetected(int type)
|
boolean |
usesLocalFilePerTable()
|
boolean |
usesLocalFiles()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Connection connection
private java.util.HashMap metadataContainer
| Constructor Detail |
public DatabaseMetaData(Connection conn)
DatabaseMetaData instance.
conn - a Connection value| Method Detail |
private java.lang.Object getMetadata(java.lang.String methodName,
java.lang.Class[] parametersType,
java.lang.Object[] arguments,
boolean allowsNull)
throws java.sql.SQLException
methodName - metadata method nameparametersType - parameters type of method to invokearguments - arguments to invoke the methodallowsNull - true if a null metadata can be returned, if set to false
an exception will be thrown if the metadata is null
java.sql.SQLException - if the connection fails
public boolean allProceduresAreCallable()
throws java.sql.SQLException
allProceduresAreCallable in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.allProceduresAreCallable()
public boolean allTablesAreSelectable()
throws java.sql.SQLException
allTablesAreSelectable in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.allTablesAreSelectable()
public boolean dataDefinitionCausesTransactionCommit()
throws java.sql.SQLException
dataDefinitionCausesTransactionCommit in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.dataDefinitionCausesTransactionCommit()
public boolean dataDefinitionIgnoredInTransactions()
throws java.sql.SQLException
dataDefinitionIgnoredInTransactions in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.dataDefinitionIgnoredInTransactions()
public boolean deletesAreDetected(int type)
throws java.sql.SQLException
deletesAreDetected in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.deletesAreDetected(int)
public boolean doesMaxRowSizeIncludeBlobs()
throws java.sql.SQLException
doesMaxRowSizeIncludeBlobs in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.doesMaxRowSizeIncludeBlobs()
public java.sql.ResultSet getBestRowIdentifier(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
int scope,
boolean nullable)
throws java.sql.SQLException
getBestRowIdentifier in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getBestRowIdentifier(java.lang.String,
java.lang.String, java.lang.String, int, boolean)
public java.sql.ResultSet getCatalogs()
throws java.sql.SQLException
getCatalogs in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getCatalogs()
public java.lang.String getCatalogSeparator()
throws java.sql.SQLException
getCatalogSeparator in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getCatalogSeparator()
public java.lang.String getCatalogTerm()
throws java.sql.SQLException
getCatalogTerm in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getCatalogTerm()
public java.sql.ResultSet getColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String columnNamePattern)
throws java.sql.SQLException
getColumns in interface java.sql.DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschemaPattern - a schema name pattern; "" retrieves those without a
schematableNamePattern - a table name patterncolumnNamePattern - a column name pattern
null
java.sql.SQLException - if an error occursgetSearchStringEscape()
public java.sql.ResultSet getColumnPrivileges(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String columnNamePattern)
throws java.sql.SQLException
getColumnPrivileges in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getColumnPrivileges(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public java.sql.Connection getConnection()
throws java.sql.SQLException
Connection that produced this
DatabaseMetaData.
getConnection in interface java.sql.DatabaseMetaDataConnection object
java.sql.SQLException - if an error occurs
public java.sql.ResultSet getCrossReference(java.lang.String primaryCatalog,
java.lang.String primarySchema,
java.lang.String primaryTable,
java.lang.String foreignCatalog,
java.lang.String foreignSchema,
java.lang.String foreignTable)
throws java.sql.SQLException
getCrossReference in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getCrossReference(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String)
public java.lang.String getDatabaseProductName()
throws java.sql.SQLException
getDatabaseProductName in interface java.sql.DatabaseMetaDatajava.sql.SQLException - if a database access error occurs
public java.lang.String getDatabaseProductVersion()
throws java.sql.SQLException
getDatabaseProductVersion in interface java.sql.DatabaseMetaDatajava.sql.SQLException - if an error occurs
public int getDefaultTransactionIsolation()
throws java.sql.SQLException
getDefaultTransactionIsolation in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getDefaultTransactionIsolation()public int getDriverMajorVersion()
getDriverMajorVersion in interface java.sql.DatabaseMetaDatapublic int getDriverMinorVersion()
getDriverMinorVersion in interface java.sql.DatabaseMetaData
public java.lang.String getDriverName()
throws java.sql.SQLException
getDriverName in interface java.sql.DatabaseMetaDatajava.sql.SQLException - why?
public java.lang.String getDriverVersion()
throws java.sql.SQLException
getDriverVersion in interface java.sql.DatabaseMetaDatajava.sql.SQLException - why?
public java.sql.ResultSet getExportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
throws java.sql.SQLException
getExportedKeys in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getExportedKeys(java.lang.String,
java.lang.String, java.lang.String)
public java.lang.String getExtraNameCharacters()
throws java.sql.SQLException
getExtraNameCharacters in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getExtraNameCharacters()
public java.lang.String getIdentifierQuoteString()
throws java.sql.SQLException
getIdentifierQuoteString in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getIdentifierQuoteString()
public java.sql.ResultSet getImportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
throws java.sql.SQLException
getImportedKeys in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getImportedKeys(java.lang.String,
java.lang.String, java.lang.String)
public java.sql.ResultSet getIndexInfo(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
boolean unique,
boolean approximate)
throws java.sql.SQLException
getIndexInfo in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getIndexInfo(java.lang.String,
java.lang.String, java.lang.String, boolean, boolean)
public int getMaxBinaryLiteralLength()
throws java.sql.SQLException
getMaxBinaryLiteralLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxBinaryLiteralLength()
public int getMaxCatalogNameLength()
throws java.sql.SQLException
getMaxCatalogNameLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxCatalogNameLength()
public int getMaxCharLiteralLength()
throws java.sql.SQLException
getMaxCharLiteralLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxCharLiteralLength()
public int getMaxColumnNameLength()
throws java.sql.SQLException
getMaxColumnNameLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxColumnNameLength()
public int getMaxColumnsInGroupBy()
throws java.sql.SQLException
getMaxColumnsInGroupBy in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxColumnsInGroupBy()
public int getMaxColumnsInIndex()
throws java.sql.SQLException
getMaxColumnsInIndex in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxColumnsInIndex()
public int getMaxColumnsInOrderBy()
throws java.sql.SQLException
getMaxColumnsInOrderBy in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxColumnsInOrderBy()
public int getMaxColumnsInSelect()
throws java.sql.SQLException
getMaxColumnsInSelect in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxColumnsInSelect()
public int getMaxColumnsInTable()
throws java.sql.SQLException
getMaxColumnsInTable in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxColumnsInTable()
public int getMaxConnections()
throws java.sql.SQLException
getMaxConnections in interface java.sql.DatabaseMetaDatajava.sql.SQLException - if a database access error occurs
public int getMaxCursorNameLength()
throws java.sql.SQLException
getMaxCursorNameLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxCursorNameLength()
public int getMaxIndexLength()
throws java.sql.SQLException
getMaxIndexLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxIndexLength()
public int getMaxProcedureNameLength()
throws java.sql.SQLException
getMaxProcedureNameLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxProcedureNameLength()
public int getMaxRowSize()
throws java.sql.SQLException
getMaxRowSize in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxRowSize()
public int getMaxSchemaNameLength()
throws java.sql.SQLException
getMaxSchemaNameLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxSchemaNameLength()
public int getMaxStatementLength()
throws java.sql.SQLException
getMaxStatementLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxStatementLength()
public int getMaxStatements()
throws java.sql.SQLException
getMaxStatements in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxStatements()
public int getMaxTableNameLength()
throws java.sql.SQLException
getMaxTableNameLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxTableNameLength()
public int getMaxTablesInSelect()
throws java.sql.SQLException
getMaxTablesInSelect in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxTablesInSelect()
public int getMaxUserNameLength()
throws java.sql.SQLException
getMaxUserNameLength in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getMaxUserNameLength()
public java.lang.String getNumericFunctions()
throws java.sql.SQLException
getNumericFunctions in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getNumericFunctions()
public java.sql.ResultSet getPrimaryKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
throws java.sql.SQLException
getPrimaryKeys in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getPrimaryKeys(java.lang.String,
java.lang.String, java.lang.String)
public java.sql.ResultSet getProcedureColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern,
java.lang.String columnNamePattern)
throws java.sql.SQLException
getProcedureColumns in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getProcedureColumns(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public java.sql.ResultSet getProcedures(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern)
throws java.sql.SQLException
getProcedures in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getProcedures(java.lang.String,
java.lang.String, java.lang.String)
public java.lang.String getProcedureTerm()
throws java.sql.SQLException
getProcedureTerm in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getProcedureTerm()
public java.sql.ResultSet getSchemas()
throws java.sql.SQLException
getSchemas in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getSchemas()
public java.lang.String getSchemaTerm()
throws java.sql.SQLException
getSchemaTerm in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getSchemaTerm()
public java.lang.String getSearchStringEscape()
throws java.sql.SQLException
getSearchStringEscape in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getSearchStringEscape()
public java.lang.String getSQLKeywords()
throws java.sql.SQLException
getSQLKeywords in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getSQLKeywords()
public java.lang.String getStringFunctions()
throws java.sql.SQLException
getStringFunctions in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getStringFunctions()
public java.lang.String getSystemFunctions()
throws java.sql.SQLException
getSystemFunctions in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getSystemFunctions()
public java.sql.ResultSet getTables(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String[] types)
throws java.sql.SQLException
getTables in interface java.sql.DatabaseMetaDatacatalog - a catalog name; this is ignored, and should be set to
nullschemaPattern - a schema name pattern; this is ignored, and should be
set to nulltableNamePattern - a table name pattern. For all tables this should be
"%"types - a list of table types to include; null returns
all types
null
java.sql.SQLException - if a database-access error occurs.
public java.sql.ResultSet getTablePrivileges(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
throws java.sql.SQLException
getTablePrivileges in interface java.sql.DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalog; null
means drop catalog name from the selection criteriaschemaPattern - a schema name pattern; "" retrieves those without a
schematableNamePattern - a table name pattern
ResultSet each row is a table privilege description
java.sql.SQLException - if a database access error occurs
public java.sql.ResultSet getTableTypes()
throws java.sql.SQLException
getTableTypes in interface java.sql.DatabaseMetaDataResultSet each row has a single String column that
is a catalog name
java.sql.SQLException - if a database error occurs
public java.lang.String getTimeDateFunctions()
throws java.sql.SQLException
getTimeDateFunctions in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getTimeDateFunctions()
public java.sql.ResultSet getTypeInfo()
throws java.sql.SQLException
getTypeInfo in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getTypeInfo()
public java.sql.ResultSet getUDTs(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern,
int[] types)
throws java.sql.SQLException
getUDTs in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getUDTs(java.lang.String, java.lang.String,
java.lang.String, int[])
public java.lang.String getURL()
throws java.sql.SQLException
getURL in interface java.sql.DatabaseMetaDatajava.sql.SQLException - if a database access error occurs
public java.lang.String getUserName()
throws java.sql.SQLException
getUserName in interface java.sql.DatabaseMetaDatajava.sql.SQLException - if a database access error occurs
public java.sql.ResultSet getVersionColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
throws java.sql.SQLException
getVersionColumns in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.getVersionColumns(java.lang.String,
java.lang.String, java.lang.String)
public boolean insertsAreDetected(int type)
throws java.sql.SQLException
insertsAreDetected in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.insertsAreDetected(int)
public boolean isCatalogAtStart()
throws java.sql.SQLException
isCatalogAtStart in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.isCatalogAtStart()
public boolean isReadOnly()
throws java.sql.SQLException
isReadOnly in interface java.sql.DatabaseMetaDatatrue if so
java.sql.SQLException - if a database access error occurs
public boolean nullPlusNonNullIsNull()
throws java.sql.SQLException
nullPlusNonNullIsNull in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.nullPlusNonNullIsNull()
public boolean nullsAreSortedAtEnd()
throws java.sql.SQLException
nullsAreSortedAtEnd in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.nullsAreSortedAtEnd()
public boolean nullsAreSortedAtStart()
throws java.sql.SQLException
nullsAreSortedAtStart in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.nullsAreSortedAtStart()
public boolean nullsAreSortedHigh()
throws java.sql.SQLException
nullsAreSortedHigh in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.nullsAreSortedHigh()
public boolean nullsAreSortedLow()
throws java.sql.SQLException
nullsAreSortedLow in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.nullsAreSortedLow()
public boolean othersDeletesAreVisible(int type)
throws java.sql.SQLException
othersDeletesAreVisible in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.othersDeletesAreVisible(int)
public boolean othersInsertsAreVisible(int type)
throws java.sql.SQLException
othersInsertsAreVisible in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.othersInsertsAreVisible(int)
public boolean othersUpdatesAreVisible(int type)
throws java.sql.SQLException
othersUpdatesAreVisible in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.othersUpdatesAreVisible(int)
public boolean ownDeletesAreVisible(int type)
throws java.sql.SQLException
ownDeletesAreVisible in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.ownDeletesAreVisible(int)
public boolean ownInsertsAreVisible(int type)
throws java.sql.SQLException
ownInsertsAreVisible in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.ownInsertsAreVisible(int)
public boolean ownUpdatesAreVisible(int type)
throws java.sql.SQLException
ownUpdatesAreVisible in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.ownUpdatesAreVisible(int)
public boolean storesLowerCaseIdentifiers()
throws java.sql.SQLException
storesLowerCaseIdentifiers in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.storesLowerCaseIdentifiers()
public boolean storesLowerCaseQuotedIdentifiers()
throws java.sql.SQLException
storesLowerCaseQuotedIdentifiers in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.storesLowerCaseQuotedIdentifiers()
public boolean storesMixedCaseIdentifiers()
throws java.sql.SQLException
storesMixedCaseIdentifiers in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.storesMixedCaseIdentifiers()
public boolean storesMixedCaseQuotedIdentifiers()
throws java.sql.SQLException
storesMixedCaseQuotedIdentifiers in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.storesMixedCaseQuotedIdentifiers()
public boolean storesUpperCaseIdentifiers()
throws java.sql.SQLException
storesUpperCaseIdentifiers in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.storesUpperCaseIdentifiers()
public boolean storesUpperCaseQuotedIdentifiers()
throws java.sql.SQLException
storesUpperCaseQuotedIdentifiers in interface java.sql.DatabaseMetaDatajava.sql.SQLExceptionDatabaseMetaData.storesUpperCaseQuotedIdentifiers()