DatabaseMetaData, Wrapperpublic class MonetDatabaseMetaData extends MonetWrapper implements 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| Constructor | Description |
|---|---|
MonetDatabaseMetaData(Connection parent) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
allProceduresAreCallable() |
Can all the procedures returned by getProcedures be called
by the current user?
|
boolean |
allTablesAreSelectable() |
Can all the tables returned by getTable be SELECTed by
the current user?
|
boolean |
autoCommitFailureClosesAllResultSets() |
Retrieves whether a SQLException while autoCommit is true
inidcates that all open ResultSets are closed, even ones that are
holdable.
|
boolean |
dataDefinitionCausesTransactionCommit() |
Does a data definition statement within a transaction force
the transaction to commit? I think this means something like:
|
boolean |
dataDefinitionIgnoredInTransactions() |
Is a data definition statement within a transaction ignored?
|
boolean |
deletesAreDetected(int i) |
|
boolean |
doesMaxRowSizeIncludeBlobs() |
Did getMaxRowSize() include the SQL data types LONGVARCHAR and LONGVARBINARY
blobs?
Yes I thought so...
|
boolean |
generatedKeyAlwaysReturned() |
Retrieves whether a generated key will always be returned if the
column name(s) or index(es) specified for the auto generated key
column(s) are valid and the statement succeeds.
|
ResultSet |
getAttributes(String catalog,
String schemaPattern,
String typeNamePattern,
String attributeNamePattern) |
Retrieves a description of the given attribute of the given type
for a user-defined type (UDT) that is available in the given schema
and catalog.
|
ResultSet |
getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable) |
Get a description of a table's optimal set of columns that
uniquely identifies a row.
|
ResultSet |
getCatalogs() |
Get the catalog names available in this database.
|
String |
getCatalogSeparator() |
What is the Catalog separator.
|
String |
getCatalogTerm() |
What is the database vendor's preferred term for "catalog"?
MonetDB doesn't really have them (from driver accessible) but
from the monetdb.conf file the term "database" sounds best
|
ResultSet |
getClientInfoProperties() |
Retrieves a list of the client info properties that the driver
supports.
|
ResultSet |
getColumnPrivileges(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern) |
Get a description of the access rights for a table's columns.
|
ResultSet |
getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern) |
Get a description of table columns available in a catalog.
|
Connection |
getConnection() |
Retrieves the connection that produced this metadata object.
|
ResultSet |
getCrossReference(String pcatalog,
String pschema,
String ptable,
String fcatalog,
String fschema,
String ftable) |
Get a description of the foreign key columns in the foreign key
table that reference the primary key columns of the primary key
table.
|
int |
getDatabaseMajorVersion() |
Retrieves the major version number of the underlying database.
|
int |
getDatabaseMinorVersion() |
Retrieves the minor version number of the underlying database.
|
String |
getDatabaseProductName() |
What is the name of this database product - this should be MonetDB
of course, so we return that explicitly.
|
String |
getDatabaseProductVersion() |
What is the version of this database product.
|
int |
getDefaultTransactionIsolation() |
What is the database's default transaction isolation level?
We only see commited data, nonrepeatable reads and phantom
reads can occur.
|
int |
getDriverMajorVersion() |
What is this JDBC driver's major version number?
|
int |
getDriverMinorVersion() |
What is this JDBC driver's minor version number?
|
String |
getDriverName() |
What is the name of this JDBC driver?
|
String |
getDriverVersion() |
Retrieves the version number of this JDBC driver as a String.
|
ResultSet |
getExportedKeys(String catalog,
String schema,
String table) |
Get a description of a foreign key columns that reference a
table's primary key columns (the foreign keys exported by a table).
|
String |
getExtraNameCharacters() |
Get all the "extra" characters that can be used in unquoted
identifier names (those beyond a-zA-Z0-9 and _)
|
ResultSet |
getFunctionColumns(String catalog,
String schemaPattern,
String functionNamePattern,
String columnNamePattern) |
Retrieves a description of the given catalog's system or user
function parameters and return type.
|
ResultSet |
getFunctions(String catalog,
String schemaPattern,
String functionNamePattern) |
Retrieves a description of the system and user functions
available in the given catalog.
|
String |
getIdentifierQuoteString() |
What is the string used to quote SQL identifiers? This returns
a space if identifier quoting isn't supported.
|
ResultSet |
getImportedKeys(String catalog,
String schema,
String table) |
Get a description of the primary key columns that are
referenced by a table's foreign key columns (the primary keys
imported by a table).
|
ResultSet |
getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate) |
Retrieves a description of the given table's indices and statistics.
|
int |
getJDBCMajorVersion() |
Retrieves the major JDBC version number for this driver.
|
int |
getJDBCMinorVersion() |
Retrieves the minor JDBC version number for this driver.
|
int |
getMaxBinaryLiteralLength() |
How many hex characters can you have in an inline binary literal
|
int |
getMaxCatalogNameLength() |
What is the maximum length of a catalog
|
int |
getMaxCharLiteralLength() |
What is the maximum length for a character literal
|
int |
getMaxColumnNameLength() |
Whats the limit on column name length.
|
int |
getMaxColumnsInGroupBy() |
What is the maximum number of columns in a "GROUP BY" clause?
|
int |
getMaxColumnsInIndex() |
What's the maximum number of columns allowed in an index?
|
int |
getMaxColumnsInOrderBy() |
What's the maximum number of columns in an "ORDER BY clause?
|
int |
getMaxColumnsInSelect() |
What is the maximum number of columns in a "SELECT" list?
|
int |
getMaxColumnsInTable() |
What is the maximum number of columns in a table?
The theoretical max value of int column sys._columns.id is 2^31 -1
but this is for all columns of all tables in all schemas (including all data dictionary columns).
|
int |
getMaxConnections() |
How many active connections can we have at a time to this
database? Well, since it depends on Mserver, which just listens
for new connections and creates a new thread for each connection,
this number can be very high, and theoretically till the system
runs out of resources.
|
int |
getMaxCursorNameLength() |
What is the maximum cursor name length
Actually we do not do named cursors, so I keep the value small as
a precaution for maybe the future.
|
int |
getMaxIndexLength() |
Retrieves the maximum number of bytes for an index, including all
of the parts of the index.
|
int |
getMaxProcedureNameLength() |
What is the maximum length of a procedure name
|
int |
getMaxRowSize() |
What is the maximum length of a single row?
|
int |
getMaxSchemaNameLength() |
Retrieves the maximum number of characters that this database
allows in a schema name.
|
int |
getMaxStatementLength() |
What is the maximum length of a SQL statement?
|
int |
getMaxStatements() |
How many active statements can we have open at one time to
this database? Basically, since each Statement downloads
the results as the query is executed, we can have many.
|
int |
getMaxTableNameLength() |
What is the maximum length of a table name
|
int |
getMaxTablesInSelect() |
What is the maximum number of tables that can be specified
in a SELECT?
|
int |
getMaxUserNameLength() |
What is the maximum length of a user name
|
String |
getNumericFunctions() |
|
ResultSet |
getPrimaryKeys(String catalog,
String schema,
String table) |
Get a description of a table's primary key columns.
|
ResultSet |
getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern) |
Get a description of a catalog's stored procedure parameters
and result columns.
|
ResultSet |
getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern) |
Get a description of stored procedures available in a catalog
|
String |
getProcedureTerm() |
What is the database vendor's preferred term for "procedure"?
|
ResultSet |
getPseudoColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern) |
Retrieves a description of the pseudo or hidden columns available
in a given table within the specified catalog and schema.
|
int |
getResultSetHoldability() |
Retrieves the default holdability of this
ResultSet
object. |
RowIdLifetime |
getRowIdLifetime() |
Indicates whether or not this data source supports the SQL ROWID
type, and if so the lifetime for which a RowId object remains
valid.
|
ResultSet |
getSchemas() |
Get the schema names available in this database.
|
ResultSet |
getSchemas(String catalog,
String schemaPattern) |
Get the schema names available in this database.
|
String |
getSchemaTerm() |
What is the database vendor's preferred term for "schema"?
MonetDB uses the term "schema".
|
String |
getSearchStringEscape() |
This is the string that can be used to escape '_' and '%' in
a search string pattern style catalog search parameters
|
String |
getSQLKeywords() |
Get a comma separated list of all a database's SQL keywords that
are NOT also SQL:2003 keywords.
|
int |
getSQLStateType() |
Indicates whether the SQLSTATEs returned by
SQLException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL:2003. |
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 typeNamePattern) |
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 tableNamePattern) |
Get a description of the access rights for each table available
in a catalog.
|
ResultSet |
getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types) |
Retrieves a description of the tables available in the given catalog.
|
ResultSet |
getTableTypes() |
Get the table types available in this database.
|
String |
getTimeDateFunctions() |
|
ResultSet |
getTypeInfo() |
Get a description of all the SQL data types supported by
this database.
|
ResultSet |
getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types) |
Retrieves a description of the user-defined types (UDTs) defined in a particular schema.
|
String |
getURL() |
What is the URL for this database?
|
String |
getUserName() |
What is our user name as known to the database?
|
ResultSet |
getVersionColumns(String catalog,
String schema,
String table) |
Get a description of a table's columns that are automatically
updated when any value in a row is updated.
|
boolean |
insertsAreDetected(int type) |
|
boolean |
isCatalogAtStart() |
Does a catalog appear at the start of a qualified table name?
(Otherwise it appears at the end).
|
boolean |
isReadOnly() |
Is the database in read-only mode?
|
boolean |
locatorsUpdateCopy() |
Indicates whether updates made to a LOB are made on a copy or directly
to the LOB.
|
boolean |
nullPlusNonNullIsNull() |
Are concatenations between NULL and non-NULL values NULL? A
JDBC Compliant driver always returns true
|
boolean |
nullsAreSortedAtEnd() |
Are NULL values sorted at the end regardless of sort order?
|
boolean |
nullsAreSortedAtStart() |
Are NULL values sorted at the start regardless of sort order?
|
boolean |
nullsAreSortedHigh() |
Retrieves whether NULL values are sorted high.
|
boolean |
nullsAreSortedLow() |
Retrieves whether NULL values are sorted low.
|
boolean |
othersDeletesAreVisible(int i) |
|
boolean |
othersInsertsAreVisible(int type) |
|
boolean |
othersUpdatesAreVisible(int type) |
|
boolean |
ownDeletesAreVisible(int type) |
|
boolean |
ownInsertsAreVisible(int type) |
|
boolean |
ownUpdatesAreVisible(int type) |
|
boolean |
rowChangesAreDetected(int type) |
|
boolean |
rowChangesAreVisible(int type) |
|
boolean |
storesLowerCaseIdentifiers() |
Does the database treat mixed case unquoted SQL identifiers as
case insensitive and store them in lower case?
|
boolean |
storesLowerCaseQuotedIdentifiers() |
Does the database treat mixed case quoted SQL identifiers as case
insensitive and store them in lower case?
|
boolean |
storesMixedCaseIdentifiers() |
Does the database treat mixed case unquoted SQL identifiers as
case insensitive and store them in mixed case?
|
boolean |
storesMixedCaseQuotedIdentifiers() |
Does the database treat mixed case quoted SQL identifiers as case
insensitive and store them in mixed case?
|
boolean |
storesUpperCaseIdentifiers() |
Does the database treat mixed case unquoted SQL identifiers as
case insensitive and store them in upper case?
|
boolean |
storesUpperCaseQuotedIdentifiers() |
Does the database treat mixed case quoted SQL identifiers as
case insensitive and store them in upper case?
|
boolean |
supportsAlterTableWithAddColumn() |
Is "ALTER TABLE" with an add column supported?
|
boolean |
supportsAlterTableWithDropColumn() |
Is "ALTER TABLE" with a drop column supported?
|
boolean |
supportsANSI92EntryLevelSQL() |
Does this driver support the ANSI-92 entry level SQL grammar?
All JDBC Compliant drivers must return true.
|
boolean |
supportsANSI92FullSQL() |
Does this driver support the ANSI-92 full SQL grammar?
Would be good if it was like that
|
boolean |
supportsANSI92IntermediateSQL() |
Does this driver support the ANSI-92 intermediate level SQL
grammar?
probably not
|
boolean |
supportsBatchUpdates() |
Indicates whether the driver supports batch updates.
|
boolean |
supportsCatalogsInDataManipulation() |
Can a catalog name be used in a data manipulation statement?
|
boolean |
supportsCatalogsInIndexDefinitions() |
Can a catalog name be used in an index definition?
|
boolean |
supportsCatalogsInPrivilegeDefinitions() |
Can a catalog name be used in a privilege definition statement?
|
boolean |
supportsCatalogsInProcedureCalls() |
Can a catalog name be used in a procedure call statement?
|
boolean |
supportsCatalogsInTableDefinitions() |
Can a catalog name be used in a table definition statement?
|
boolean |
supportsColumnAliasing() |
Is column aliasing supported?
|
boolean |
supportsConvert() |
Retrieves whether this database supports the JDBC scalar function
CONVERT for the conversion of one JDBC type to another.
|
boolean |
supportsConvert(int fromType,
int toType) |
Retrieves whether this database supports the JDBC scalar function
CONVERT for conversions between the JDBC types fromType and toType.
|
boolean |
supportsCoreSQLGrammar() |
Does this driver support the Core ODBC SQL grammar.
|
boolean |
supportsCorrelatedSubqueries() |
Are correlated subqueries supported? A JDBC Compliant driver
always returns true.
|
boolean |
supportsDataDefinitionAndDataManipulationTransactions() |
Are both data definition and data manipulation transactions
supported?
Supposedly that data definition is like CREATE or ALTER TABLE
yes it is.
|
boolean |
supportsDataManipulationTransactionsOnly() |
Are only data manipulation statements within a transaction
supported?
|
boolean |
supportsDifferentTableCorrelationNames() |
If table correlation names are supported, are they restricted to
be different from the names of the tables?
|
boolean |
supportsExpressionsInOrderBy() |
Are expressions in "ORDER BY" lists supported?
e.g.
|
boolean |
supportsExtendedSQLGrammar() |
Does this driver support the Extended (Level 2) ODBC SQL
grammar.
|
boolean |
supportsFullOuterJoins() |
Are full nested outer joins supported?
|
boolean |
supportsGetGeneratedKeys() |
Retrieves whether auto-generated keys can be retrieved after
a statement has been executed.
|
boolean |
supportsGroupBy() |
Is some form of "GROUP BY" clause supported?
|
boolean |
supportsGroupByBeyondSelect() |
Can a "GROUP BY" clause add columns not in the SELECT provided
it specifies all the columns in the SELECT?
(MonetDB already supports the more difficult supportsGroupByUnrelated(),
so this is a piece of cake)
|
boolean |
supportsGroupByUnrelated() |
Can a "GROUP BY" clause use columns not in the SELECT?
|
boolean |
supportsIntegrityEnhancementFacility() |
Is the SQL Integrity Enhancement Facility supported?
Our best guess is that this means support for constraints
|
boolean |
supportsLikeEscapeClause() |
Is the escape character in "LIKE" clauses supported? A
JDBC compliant driver always returns true.
|
boolean |
supportsLimitedOuterJoins() |
Is there limited support for outer joins?
|
boolean |
supportsMinimumSQLGrammar() |
Does this driver support the minimum ODBC SQL grammar.
|
boolean |
supportsMixedCaseIdentifiers() |
Does the database treat mixed case unquoted SQL identifiers
as case sensitive and as a result store them in mixed case?
A JDBC-Compliant driver will always return false.
|
boolean |
supportsMixedCaseQuotedIdentifiers() |
Does the database treat mixed case quoted SQL identifiers as
case sensitive and as a result store them in mixed case? A
JDBC compliant driver will always return true.
|
boolean |
supportsMultipleOpenResults() |
Retrieves whether it is possible to have multiple
ResultSet objects
returned from a CallableStatement object
simultaneously. |
boolean |
supportsMultipleResultSets() |
Are multiple ResultSets from a single execute supported?
|
boolean |
supportsMultipleTransactions() |
Can we have multiple transactions open at once (on different
connections?)
This is the main idea behind the Connection, is it?
|
boolean |
supportsNamedParameters() |
Retrieves whether this database supports named parameters to callable
statements.
|
boolean |
supportsNonNullableColumns() |
Can columns be defined as non-nullable.
|
boolean |
supportsOpenCursorsAcrossCommit() |
ResultSet objects (cursors) are not closed upon explicit or
implicit commit.
|
boolean |
supportsOpenCursorsAcrossRollback() |
Same as above
|
boolean |
supportsOpenStatementsAcrossCommit() |
Can statements remain open across commits? They may, but
this driver cannot guarentee that.
|
boolean |
supportsOpenStatementsAcrossRollback() |
Can statements remain open across rollbacks? They may, but
this driver cannot guarentee that.
|
boolean |
supportsOrderByUnrelated() |
Can an "ORDER BY" clause use columns not in the SELECT?
MonetDB differs from SQL03 => true
|
boolean |
supportsOuterJoins() |
Is some form of outer join supported?
|
boolean |
supportsPositionedDelete() |
MonetDB doesn't support positioned DELETEs I guess
|
boolean |
supportsPositionedUpdate() |
Is positioned UPDATE supported? (same as above)
|
boolean |
supportsResultSetConcurrency(int type,
int concurrency) |
Does the database support the concurrency type in combination
with the given result set type?
|
boolean |
supportsResultSetHoldability(int holdability) |
Retrieves whether this database supports the given result set holdability.
|
boolean |
supportsResultSetType(int type) |
Does the database support the given result set type?
|
boolean |
supportsSavepoints() |
Retrieves whether this database supports savepoints.
|
boolean |
supportsSchemasInDataManipulation() |
Can a schema name be used in a data manipulation statement?
|
boolean |
supportsSchemasInIndexDefinitions() |
Can a schema name be used in an index definition statement?
|
boolean |
supportsSchemasInPrivilegeDefinitions() |
Can a schema name be used in a privilege definition statement?
|
boolean |
supportsSchemasInProcedureCalls() |
Can a schema name be used in a procedure call statement?
Ohw probably, but I don't know of procedures in MonetDB
|
boolean |
supportsSchemasInTableDefinitions() |
Can a schema be used in a table definition statement?
|
boolean |
supportsSelectForUpdate() |
Is SELECT FOR UPDATE supported?
My test resulted in a negative answer
|
boolean |
supportsStatementPooling() |
Retrieves whether this database supports statement pooling.
|
boolean |
supportsStoredFunctionsUsingCallSyntax() |
Retrieves whether this database supports invoking user-defined or
vendor functions using the stored procedure escape syntax.
|
boolean |
supportsStoredProcedures() |
Are stored procedure calls using the stored procedure escape
syntax supported?
|
boolean |
supportsSubqueriesInComparisons() |
Are subqueries in comparison expressions supported? A JDBC
Compliant driver always returns true.
|
boolean |
supportsSubqueriesInExists() |
Are subqueries in 'exists' expressions supported? A JDBC
Compliant driver always returns true.
|
boolean |
supportsSubqueriesInIns() |
Are subqueries in 'in' statements supported? A JDBC
Compliant driver always returns true.
|
boolean |
supportsSubqueriesInQuantifieds() |
Are subqueries in quantified expressions supported? A JDBC
Compliant driver always returns true.
|
boolean |
supportsTableCorrelationNames() |
Are table correlation names supported? A JDBC Compliant
driver always returns true.
|
boolean |
supportsTransactionIsolationLevel(int level) |
Does the database support the given transaction isolation level?
We only support TRANSACTION_READ_COMMITTED as far as I know
|
boolean |
supportsTransactions() |
Are transactions supported? If not, commit and rollback are noops
and the isolation level is TRANSACTION_NONE.
|
boolean |
supportsUnion() |
Is SQL UNION supported?
since 2004-03-20
|
boolean |
supportsUnionAll() |
Is SQL UNION ALL supported?
since 2004-03-20
|
boolean |
updatesAreDetected(int type) |
|
boolean |
usesLocalFilePerTable() |
Does the database use a local file for each table?
|
boolean |
usesLocalFiles() |
Does the database store tables in a local file?
No, it stores them in files on the server.
|
getMaxLogicalLobSize, supportsRefCursors, supportsShardingisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic MonetDatabaseMetaData(Connection parent)
public boolean allProceduresAreCallable()
allProceduresAreCallable in interface DatabaseMetaDatapublic boolean allTablesAreSelectable()
allTablesAreSelectable in interface DatabaseMetaDatapublic String getURL() throws SQLException
getURL in interface DatabaseMetaDataSQLException - if a database access error occurspublic String getUserName() throws SQLException
getUserName in interface DatabaseMetaDataSQLException - if a database access error occurspublic boolean isReadOnly()
isReadOnly in interface DatabaseMetaDatapublic boolean nullsAreSortedHigh()
nullsAreSortedHigh in interface DatabaseMetaDatapublic boolean nullsAreSortedLow()
nullsAreSortedLow in interface DatabaseMetaDatanullsAreSortedHigh()public boolean nullsAreSortedAtStart()
nullsAreSortedAtStart in interface DatabaseMetaDatapublic boolean nullsAreSortedAtEnd()
nullsAreSortedAtEnd in interface DatabaseMetaDatapublic String getDatabaseProductName()
getDatabaseProductName in interface DatabaseMetaDatapublic String getDatabaseProductVersion() throws SQLException
getDatabaseProductVersion in interface DatabaseMetaDataSQLException - if a database access error occurspublic String getDriverName()
getDriverName in interface DatabaseMetaDatapublic String getDriverVersion()
getDriverVersion in interface DatabaseMetaDatapublic int getDriverMajorVersion()
getDriverMajorVersion in interface DatabaseMetaDatapublic int getDriverMinorVersion()
getDriverMinorVersion in interface DatabaseMetaDatapublic boolean usesLocalFiles()
usesLocalFiles in interface DatabaseMetaDatapublic boolean usesLocalFilePerTable()
usesLocalFilePerTable in interface DatabaseMetaDatapublic boolean supportsMixedCaseIdentifiers()
supportsMixedCaseIdentifiers in interface DatabaseMetaDatapublic boolean storesUpperCaseIdentifiers()
storesUpperCaseIdentifiers in interface DatabaseMetaDatapublic boolean storesLowerCaseIdentifiers()
storesLowerCaseIdentifiers in interface DatabaseMetaDatapublic boolean storesMixedCaseIdentifiers()
storesMixedCaseIdentifiers in interface DatabaseMetaDatapublic boolean supportsMixedCaseQuotedIdentifiers()
supportsMixedCaseQuotedIdentifiers in interface DatabaseMetaDatapublic boolean storesUpperCaseQuotedIdentifiers()
storesUpperCaseQuotedIdentifiers in interface DatabaseMetaDatapublic boolean storesLowerCaseQuotedIdentifiers()
storesLowerCaseQuotedIdentifiers in interface DatabaseMetaDatapublic boolean storesMixedCaseQuotedIdentifiers()
storesMixedCaseQuotedIdentifiers in interface DatabaseMetaDatapublic String getIdentifierQuoteString()
getIdentifierQuoteString in interface DatabaseMetaDatapublic String getSQLKeywords()
getSQLKeywords in interface DatabaseMetaDatapublic String getNumericFunctions()
getNumericFunctions in interface DatabaseMetaDatapublic String getStringFunctions()
getStringFunctions in interface DatabaseMetaDatapublic String getSystemFunctions()
getSystemFunctions in interface DatabaseMetaDatapublic String getTimeDateFunctions()
getTimeDateFunctions in interface DatabaseMetaDatapublic String getSearchStringEscape()
getSearchStringEscape in interface DatabaseMetaDatapublic String getExtraNameCharacters()
getExtraNameCharacters in interface DatabaseMetaDatapublic boolean supportsAlterTableWithAddColumn()
supportsAlterTableWithAddColumn in interface DatabaseMetaDatapublic boolean supportsAlterTableWithDropColumn()
supportsAlterTableWithDropColumn in interface DatabaseMetaDatapublic boolean supportsColumnAliasing()
If so, the SQL AS clause can be used to provide names for computed columns or to provide alias names for columns as required. A JDBC Compliant driver always returns true.
e.g.
select count(C) as C_COUNT from T group by C;
supportsColumnAliasing in interface DatabaseMetaDatapublic boolean nullPlusNonNullIsNull()
nullPlusNonNullIsNull in interface DatabaseMetaDatapublic boolean supportsConvert()
supportsConvert in interface DatabaseMetaDatapublic boolean supportsConvert(int fromType,
int toType)
supportsConvert in interface DatabaseMetaDatapublic boolean supportsTableCorrelationNames()
supportsTableCorrelationNames in interface DatabaseMetaDatapublic boolean supportsDifferentTableCorrelationNames()
supportsDifferentTableCorrelationNames in interface DatabaseMetaDatapublic boolean supportsExpressionsInOrderBy()
supportsExpressionsInOrderBy in interface DatabaseMetaDatapublic boolean supportsOrderByUnrelated()
supportsOrderByUnrelated in interface DatabaseMetaDatapublic boolean supportsGroupBy()
supportsGroupBy in interface DatabaseMetaDatapublic boolean supportsGroupByUnrelated()
supportsGroupByUnrelated in interface DatabaseMetaDatapublic boolean supportsGroupByBeyondSelect()
supportsGroupByBeyondSelect in interface DatabaseMetaDatapublic boolean supportsLikeEscapeClause()
supportsLikeEscapeClause in interface DatabaseMetaDatapublic boolean supportsMultipleResultSets()
supportsMultipleResultSets in interface DatabaseMetaDatapublic boolean supportsMultipleTransactions()
supportsMultipleTransactions in interface DatabaseMetaDatapublic boolean supportsNonNullableColumns()
supportsNonNullableColumns in interface DatabaseMetaDatapublic boolean supportsMinimumSQLGrammar()
supportsMinimumSQLGrammar in interface DatabaseMetaDatapublic boolean supportsCoreSQLGrammar()
supportsCoreSQLGrammar in interface DatabaseMetaDatapublic boolean supportsExtendedSQLGrammar()
supportsExtendedSQLGrammar in interface DatabaseMetaDatapublic boolean supportsANSI92EntryLevelSQL()
supportsANSI92EntryLevelSQL in interface DatabaseMetaDatapublic boolean supportsANSI92IntermediateSQL()
supportsANSI92IntermediateSQL in interface DatabaseMetaDatapublic boolean supportsANSI92FullSQL()
supportsANSI92FullSQL in interface DatabaseMetaDatapublic boolean supportsIntegrityEnhancementFacility()
supportsIntegrityEnhancementFacility in interface DatabaseMetaDatapublic boolean supportsOuterJoins()
supportsOuterJoins in interface DatabaseMetaDatapublic boolean supportsFullOuterJoins()
supportsFullOuterJoins in interface DatabaseMetaDatapublic boolean supportsLimitedOuterJoins()
supportsLimitedOuterJoins in interface DatabaseMetaDatapublic String getSchemaTerm()
getSchemaTerm in interface DatabaseMetaDatapublic String getProcedureTerm()
getProcedureTerm in interface DatabaseMetaDatapublic String getCatalogTerm()
getCatalogTerm in interface DatabaseMetaDatapublic boolean isCatalogAtStart()
isCatalogAtStart in interface DatabaseMetaDatapublic String getCatalogSeparator()
getCatalogSeparator in interface DatabaseMetaDatapublic boolean supportsSchemasInDataManipulation()
supportsSchemasInDataManipulation in interface DatabaseMetaDatapublic boolean supportsSchemasInProcedureCalls()
supportsSchemasInProcedureCalls in interface DatabaseMetaDatapublic boolean supportsSchemasInTableDefinitions()
supportsSchemasInTableDefinitions in interface DatabaseMetaDatapublic boolean supportsSchemasInIndexDefinitions()
supportsSchemasInIndexDefinitions in interface DatabaseMetaDatapublic boolean supportsSchemasInPrivilegeDefinitions()
supportsSchemasInPrivilegeDefinitions in interface DatabaseMetaDatapublic boolean supportsCatalogsInDataManipulation()
supportsCatalogsInDataManipulation in interface DatabaseMetaDatapublic boolean supportsCatalogsInProcedureCalls()
supportsCatalogsInProcedureCalls in interface DatabaseMetaDatapublic boolean supportsCatalogsInTableDefinitions()
supportsCatalogsInTableDefinitions in interface DatabaseMetaDatapublic boolean supportsCatalogsInIndexDefinitions()
supportsCatalogsInIndexDefinitions in interface DatabaseMetaDatapublic boolean supportsCatalogsInPrivilegeDefinitions()
supportsCatalogsInPrivilegeDefinitions in interface DatabaseMetaDatapublic boolean supportsPositionedDelete()
supportsPositionedDelete in interface DatabaseMetaDatapublic boolean supportsPositionedUpdate()
supportsPositionedUpdate in interface DatabaseMetaDatapublic boolean supportsSelectForUpdate()
supportsSelectForUpdate in interface DatabaseMetaDatapublic boolean supportsStoredProcedures()
supportsStoredProcedures in interface DatabaseMetaDatapublic boolean supportsSubqueriesInComparisons()
supportsSubqueriesInComparisons in interface DatabaseMetaDatapublic boolean supportsSubqueriesInExists()
supportsSubqueriesInExists in interface DatabaseMetaDatapublic boolean supportsSubqueriesInIns()
supportsSubqueriesInIns in interface DatabaseMetaDatapublic boolean supportsSubqueriesInQuantifieds()
supportsSubqueriesInQuantifieds in interface DatabaseMetaDatapublic boolean supportsCorrelatedSubqueries()
supportsCorrelatedSubqueries in interface DatabaseMetaDatapublic boolean supportsUnion()
supportsUnion in interface DatabaseMetaDatapublic boolean supportsUnionAll()
supportsUnionAll in interface DatabaseMetaDatapublic boolean supportsOpenCursorsAcrossCommit()
supportsOpenCursorsAcrossCommit in interface DatabaseMetaDatapublic boolean supportsOpenCursorsAcrossRollback()
supportsOpenCursorsAcrossRollback in interface DatabaseMetaDatapublic boolean supportsOpenStatementsAcrossCommit()
supportsOpenStatementsAcrossCommit in interface DatabaseMetaDatapublic boolean supportsOpenStatementsAcrossRollback()
supportsOpenStatementsAcrossRollback in interface DatabaseMetaDatapublic int getMaxBinaryLiteralLength()
getMaxBinaryLiteralLength in interface DatabaseMetaDatapublic int getMaxCharLiteralLength()
getMaxCharLiteralLength in interface DatabaseMetaDatapublic int getMaxColumnNameLength()
getMaxColumnNameLength in interface DatabaseMetaDatapublic int getMaxColumnsInGroupBy()
getMaxColumnsInGroupBy in interface DatabaseMetaDatapublic int getMaxColumnsInIndex()
getMaxColumnsInIndex in interface DatabaseMetaDatapublic int getMaxColumnsInOrderBy()
getMaxColumnsInOrderBy in interface DatabaseMetaDatapublic int getMaxColumnsInSelect()
getMaxColumnsInSelect in interface DatabaseMetaDatapublic int getMaxColumnsInTable()
getMaxColumnsInTable in interface DatabaseMetaDatapublic int getMaxConnections()
throws SQLException
getMaxConnections in interface DatabaseMetaDataSQLExceptionpublic int getMaxCursorNameLength()
getMaxCursorNameLength in interface DatabaseMetaDatapublic int getMaxIndexLength()
getMaxIndexLength in interface DatabaseMetaDatapublic int getMaxSchemaNameLength()
getMaxSchemaNameLength in interface DatabaseMetaDatapublic int getMaxProcedureNameLength()
getMaxProcedureNameLength in interface DatabaseMetaDatapublic int getMaxCatalogNameLength()
getMaxCatalogNameLength in interface DatabaseMetaDatapublic int getMaxRowSize()
getMaxRowSize in interface DatabaseMetaDatapublic boolean doesMaxRowSizeIncludeBlobs()
doesMaxRowSizeIncludeBlobs in interface DatabaseMetaDatapublic int getMaxStatementLength()
getMaxStatementLength in interface DatabaseMetaDatapublic int getMaxStatements()
getMaxStatements in interface DatabaseMetaDatapublic int getMaxTableNameLength()
getMaxTableNameLength in interface DatabaseMetaDatapublic int getMaxTablesInSelect()
getMaxTablesInSelect in interface DatabaseMetaDatapublic int getMaxUserNameLength()
getMaxUserNameLength in interface DatabaseMetaDatapublic int getDefaultTransactionIsolation()
getDefaultTransactionIsolation in interface DatabaseMetaDataConnectionpublic boolean supportsTransactions()
supportsTransactions in interface DatabaseMetaDatapublic boolean supportsTransactionIsolationLevel(int level)
supportsTransactionIsolationLevel in interface DatabaseMetaDatalevel - the values are defined in java.sql.ConnectionConnectionpublic boolean supportsDataDefinitionAndDataManipulationTransactions()
supportsDataDefinitionAndDataManipulationTransactions in interface DatabaseMetaDatapublic boolean supportsDataManipulationTransactionsOnly()
supportsDataManipulationTransactionsOnly in interface DatabaseMetaDatapublic boolean dataDefinitionCausesTransactionCommit()
CREATE TABLE T (A INT); INSERT INTO T (A) VALUES (2); BEGIN; UPDATE T SET A = A + 1; CREATE TABLE X (A INT); SELECT A FROM T INTO X; COMMIT;does the CREATE TABLE call cause a commit? The answer is no.
dataDefinitionCausesTransactionCommit in interface DatabaseMetaDatapublic boolean dataDefinitionIgnoredInTransactions()
dataDefinitionIgnoredInTransactions in interface DatabaseMetaDatapublic ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
Only procedure descriptions matching the schema and procedure name criteria are returned. They are ordered by PROCEDURE_SCHEM, PROCEDURE_NAME and SPECIFIC_NAME.
Each procedure description has the following columns:
getProcedures in interface DatabaseMetaDatacatalog - - a catalog name; must match the catalog name as it is stored in the database;
"" retrieves those without a catalog;
null means that the catalog name should not be used to narrow the searchschemaPattern - - a schema name pattern; must match the schema name as it is stored in the database;
"" retrieves those without a schema;
null means that the schema name should not be used to narrow the searchprocedureNamePattern - - a procedure name pattern; must match the procedure name as it is stored in the databaseSQLException - if a database access error occurspublic ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException
Only descriptions matching the schema, procedure and parameter name criteria are returned. They are ordered by PROCEDURE_SCHEM, PROCEDURE_NAME and SPECIFIC_NAME. Within this, the return value, if any, is first. Next are the parameter descriptions in call order. The column descriptions follow in column number order.
Each row in the ResultSet is a parameter description or column description with the following fields:
getProcedureColumns in interface DatabaseMetaDatacatalog - - a catalog name; must match the catalog name as it is stored in the database;
"" retrieves those without a catalog;
null means that the catalog name should not be used to narrow the searchschemaPattern - - a schema name pattern; must match the schema name as it is stored in the database;
"" retrieves those without a schema;
null means that the schema name should not be used to narrow the searchprocedureNamePattern - - a procedure name pattern; must match the procedure name as it is stored in the databasecolumnNamePattern - - a column name pattern; must match the column name as it is stored in the databaseSQLException - if a database-access error occursgetSearchStringEscape()public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException
Each table description has the following columns:
getTables in interface DatabaseMetaDatacatalog - - a catalog name; must match the catalog name as it is stored in the database;
"" retrieves those without a catalog; null means that the
catalog name should not be used to narrow the searchschemaPattern - - a schema name pattern; must match the schema name as it is stored
in the database; "" retrieves those without a schema;
null means that the schema name should not be used to narrow the searchtableNamePattern - - a table name pattern; must match the table name as it is stored in the database
For all tables this should be "%"types - - a list of table types, which must be from the list of table types returned
from getTableTypes(),to include; null returns all typesSQLException - if a database-access error occurs.public ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException
The schema column is:
getSchemas in interface DatabaseMetaDatacatalog - a catalog name; must match the catalog name as it
is stored in the database;"" retrieves those without a
catalog; null means catalog name should not be used to
narrow down the search.schemaPattern - a schema name; must match the schema name as
it is stored in the database; null means schema name
should not be used to narrow down the search.SQLException - if a database error occurspublic ResultSet getCatalogs() throws SQLException
The catalog column is:
getCatalogs in interface DatabaseMetaDataSQLException - if a database error occurspublic ResultSet getTableTypes() throws SQLException
The table type is:
getTableTypes in interface DatabaseMetaDataSQLException - if a database error occurspublic ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
Only column descriptions matching the catalog, schema, table and column name criteria are returned. They are ordered by TABLE_SCHEM, TABLE_NAME and ORDINAL_POSITION.
Each column description has the following columns:
getColumns in interface DatabaseMetaDatacatalog - - a catalog name; must match the catalog name as it is stored in the database;
"" retrieves those without a catalog; null means that the
catalog name should not be used to narrow the searchschemaPattern - - a schema name pattern; must match the schema name as it is stored
in the database; "" retrieves those without a schema;
null means that the schema name should not be used to narrow the searchtableNamePattern - - a table name pattern; must match the table name as it is stored in the database
For all tables this should be "%"columnNamePattern - - a column name pattern; must match the column name as it is stored in the databaseSQLException - if a database error occursgetSearchStringEscape()public ResultSet getColumnPrivileges(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
Only privileges matching the column name criteria are returned. They are ordered by COLUMN_NAME and PRIVILEGE.
Each privilige description has the following columns:
getColumnPrivileges in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschemaPattern - a schema name; "" retrieves those without a schematableNamePattern - a table namecolumnNamePattern - a column name patternSQLException - if a database error occursgetSearchStringEscape()public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
Only privileges matching the schema and table name criteria are returned. They are ordered by TABLE_SCHEM, TABLE_NAME, and PRIVILEGE.
Each privilege description has the following columns:
getTablePrivileges in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschemaPattern - a schema name pattern; "" retrieves those without a schematableNamePattern - a table name patternSQLException - if a database error occursgetSearchStringEscape()public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException
Each column description has the following columns:
getBestRowIdentifier in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschema - a schema name; "" retrieves those without a schematable - a table namescope - the scope of interest; use same values as SCOPEnullable - include columns that are nullable?SQLException - if a database error occurspublic ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException
Each column description has the following columns:
getVersionColumns in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschema - a schema name; "" retrieves those without a schematable - a table nameSQLException - if a database error occurspublic ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException
Each column description has the following columns:
getPrimaryKeys in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschema - a schema name pattern; "" retrieves those
without a schematable - a table nameSQLException - if a database error occurspublic ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException
Each primary key column description has the following columns:
getImportedKeys in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschema - a schema name pattern; "" retrieves those without a schematable - a table nameSQLException - if a database error occursgetExportedKeys(java.lang.String, java.lang.String, java.lang.String)public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException
Each foreign key column description has the following columns:
getExportedKeys in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschema - a schema name pattern; "" retrieves those without a schematable - a table nameSQLException - if a database error occursgetImportedKeys(java.lang.String, java.lang.String, java.lang.String)public ResultSet getCrossReference(String pcatalog, String pschema, String ptable, String fcatalog, String fschema, String ftable) throws SQLException
Each foreign key column description has the following columns:
getCrossReference in interface DatabaseMetaDatapcatalog - primary key catalog name; "" retrieves those without a catalogpschema - primary key schema name pattern; "" retrieves those without a schemaptable - primary key table namefcatalog - foreign key catalog name; "" retrieves those without a catalogfschema - foreign key schema name pattern; "" retrieves those without a schemaftable - koreign key table nameSQLException - if a database error occursgetImportedKeys(java.lang.String, java.lang.String, java.lang.String)public ResultSet getTypeInfo() throws SQLException
Each type description has the following columns:
getTypeInfo in interface DatabaseMetaDataSQLException - if a database error occurspublic ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
Each index column description has the following columns:
getIndexInfo in interface DatabaseMetaDatacatalog - a catalog name; "" retrieves those without a catalogschema - a schema name pattern; "" retrieves those without a schematable - a table nameunique - when true, return only indices for unique values;
when false, return indices regardless of whether unique or notapproximate - when true, result is allowed to reflect approximate
or out of data values; when false, results are requested to be
accurateSQLException - if a database occurspublic boolean supportsResultSetType(int type)
throws SQLException
supportsResultSetType in interface DatabaseMetaDatatype - - defined in java.sql.ResultSetSQLException - - if a database access error occurspublic boolean supportsResultSetConcurrency(int type,
int concurrency)
throws SQLException
supportsResultSetConcurrency in interface DatabaseMetaDatatype - - defined in java.sql.ResultSetconcurrency - - type defined in java.sql.ResultSetSQLException - - if a database access error occurspublic boolean ownUpdatesAreVisible(int type)
ownUpdatesAreVisible in interface DatabaseMetaDatapublic boolean ownDeletesAreVisible(int type)
ownDeletesAreVisible in interface DatabaseMetaDatapublic boolean ownInsertsAreVisible(int type)
ownInsertsAreVisible in interface DatabaseMetaDatapublic boolean othersUpdatesAreVisible(int type)
othersUpdatesAreVisible in interface DatabaseMetaDatapublic boolean othersDeletesAreVisible(int i)
othersDeletesAreVisible in interface DatabaseMetaDatapublic boolean othersInsertsAreVisible(int type)
othersInsertsAreVisible in interface DatabaseMetaDatapublic boolean updatesAreDetected(int type)
updatesAreDetected in interface DatabaseMetaDatapublic boolean deletesAreDetected(int i)
deletesAreDetected in interface DatabaseMetaDatapublic boolean insertsAreDetected(int type)
insertsAreDetected in interface DatabaseMetaDatapublic boolean supportsBatchUpdates()
supportsBatchUpdates in interface DatabaseMetaDatapublic ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
getUDTs in interface DatabaseMetaDataSQLException - - if a database access error occurspublic Connection getConnection()
getConnection in interface DatabaseMetaDatapublic boolean rowChangesAreDetected(int type)
public boolean rowChangesAreVisible(int type)
public boolean supportsSavepoints()
supportsSavepoints in interface DatabaseMetaDatatrue if savepoints are supported;
false otherwisepublic boolean supportsNamedParameters()
supportsNamedParameters in interface DatabaseMetaDatatrue if named parameters are supported;
false otherwisepublic boolean supportsMultipleOpenResults()
ResultSet objects
returned from a CallableStatement object
simultaneously.supportsMultipleOpenResults in interface DatabaseMetaDatatrue if a CallableStatement object
can return multiple ResultSet objects
simultaneously; false otherwisepublic boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys in interface DatabaseMetaDatatrue if auto-generated keys can be retrieved
after a statement has executed; false otherwisepublic ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException
Only supertype information for UDTs matching the catalog, schema, and type name is returned. The type name parameter may be a fully-qualified name. When the UDT name supplied is a fully-qualified name, the catalog and schemaPattern parameters are ignored.
If a UDT does not have a direct super type, it is not listed here.
A row of the ResultSet object returned by this method
describes the designated UDT and a direct supertype. A row has the following
columns:
null)
null)
null)
null)
Note: If the driver does not support type hierarchies, an empty result set is returned.
getSuperTypes in interface 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 schematypeNamePattern - a UDT name pattern; may be a fully-qualified
nameResultSet object in which a row gives information
about the designated UDTSQLException - if a database access error occurspublic ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException
Only supertable information for tables matching the catalog, schema and table name are returned. The table name parameter may be a fully- qualified name, in which case, the catalog and schemaPattern parameters are ignored. If a table does not have a super table, it is not listed here. Supertables have to be defined in the same catalog and schema as the sub tables. Therefore, the type description does not need to include this information for the supertable.
Each type description has the following columns:
null)
null)
Note: If the driver does not support type hierarchies, an empty result set is returned.
getSuperTables in interface 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; may be a fully-qualified
nameResultSet object in which each row is a type descriptionSQLException - if a database access error occurspublic ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException
Descriptions are returned only for attributes of UDTs matching the catalog, schema, type, and attribute name criteria. They are ordered by TYPE_SCHEM, TYPE_NAME and ORDINAL_POSITION. This description does not contain inherited attributes.
The ResultSet object that is returned has the following
columns:
null)
null)
null)
null)
null if DATA_TYPE isn't REF)
null if DATA_TYPE isn't REF)
null if the DATA_TYPE isn't REF)
null if DATA_TYPE
isn't DISTINCT or user-generated REF)
getAttributes in interface DatabaseMetaDatacatalog - a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
null means that the catalog name should not be used to narrow
the searchschemaPattern - a schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
null means that the schema name should not be used to narrow
the searchtypeNamePattern - a type name pattern; must match the
type name as it is stored in the databaseattributeNamePattern - an attribute name pattern; must match the attribute
name as it is declared in the databaseResultSet object in which each row is an
attribute descriptionSQLException - if a database access error occurspublic boolean supportsResultSetHoldability(int holdability)
supportsResultSetHoldability in interface DatabaseMetaDataholdability - one of the following constants:
ResultSet.HOLD_CURSORS_OVER_COMMIT or
ResultSet.CLOSE_CURSORS_AT_COMMITtrue if so; false otherwiseConnectionpublic int getResultSetHoldability()
ResultSet
object.getResultSetHoldability in interface DatabaseMetaDataResultSet.HOLD_CURSORS_OVER_COMMIT or
ResultSet.CLOSE_CURSORS_AT_COMMITpublic int getDatabaseMajorVersion()
throws SQLException
getDatabaseMajorVersion in interface DatabaseMetaDataSQLException - if a database access error occurspublic int getDatabaseMinorVersion()
throws SQLException
getDatabaseMinorVersion in interface DatabaseMetaDataSQLException - if a database access error occurspublic int getJDBCMajorVersion()
getJDBCMajorVersion in interface DatabaseMetaDatapublic int getJDBCMinorVersion()
getJDBCMinorVersion in interface DatabaseMetaDatapublic int getSQLStateType()
SQLException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL:2003.getSQLStateType in interface DatabaseMetaDatapublic boolean locatorsUpdateCopy()
locatorsUpdateCopy in interface DatabaseMetaDatatrue if updates are made to a copy of the LOB;
false if updates are made directly to the LOBpublic boolean supportsStatementPooling()
supportsStatementPooling in interface DatabaseMetaDatatrue is so;
false otherwisepublic RowIdLifetime getRowIdLifetime()
getRowIdLifetime in interface DatabaseMetaDatapublic ResultSet getSchemas() throws SQLException
The schema column is:
getSchemas in interface DatabaseMetaDataSQLException - if a database error occurspublic boolean supportsStoredFunctionsUsingCallSyntax()
supportsStoredFunctionsUsingCallSyntax in interface DatabaseMetaDatapublic boolean autoCommitFailureClosesAllResultSets()
autoCommitFailureClosesAllResultSets in interface DatabaseMetaDatapublic ResultSet getClientInfoProperties() throws SQLException
getClientInfoProperties in interface DatabaseMetaDataSQLException - if a database access error occurspublic ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException
getFunctions in interface DatabaseMetaDatacatalog - a catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a
catalog; null means that the catalog name should not be
used to narrow the searchschemaPattern - a schema name pattern; must match the schema
name as it is stored in the database; "" retrieves those
without a schema; null means that the schema name should
not be used to narrow the searchfunctionNamePattern - a function name pattern; must match
the function name as it is stored in the databaseSQLException - if a database access error occurspublic ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException
getFunctionColumns in interface DatabaseMetaDatacatalog - a catalog name; must match the catalog name as
it is stored in the database; "" retrieves those without a
catalog; null means that the catalog name should not be
used to narrow the searchschemaPattern - a schema name pattern; must match the schema
name as it is stored in the database; "" retrieves those
without a schema; null means that the schema name should
not be used to narrow the searchfunctionNamePattern - a procedure name pattern; must match the
function name as it is stored in the databasecolumnNamePattern - a parameter name pattern; must match the
parameter or column name as it is stored in the databaseSQLException - - if a database access error occurspublic ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
getPseudoColumns in interface DatabaseMetaDatacatalog - a catalog nameschemaPattern - a schema name patterntableNamePattern - a table name patterncolumnNamePattern - a column name patternSQLException - if a database access error occurspublic boolean generatedKeyAlwaysReturned()
throws SQLException
generatedKeyAlwaysReturned in interface DatabaseMetaDataSQLException - - if a database access error occursCopyright © 2018. All rights reserved.