public class DatabaseMetaData extends Object implements DatabaseMetaData
This interface is implemented by driver vendors to let users know the capabilities of a Database Management System (DBMS) in combination with the driver based on JDBCTM technology ("JDBC driver") that is used with it. Different relational DBMSs often support different features, implement features in different ways, and use different data types. In addition, a driver may implement a feature on top of what the DBMS offers. Information returned by methods in this interface applies to the capabilities of a particular driver and a particular DBMS working together. Note that as used in this documentation, the term "database" is used generically to refer to both the driver and DBMS.
A user for this interface is commonly a tool that needs to discover how to
deal with the underlying DBMS. This is especially true for applications
that are intended to be used with more than one DBMS. For example, a tool might use the method
getTypeInfo to find out what data types can be used in a
CREATE TABLE statement. Or a user might call the method
supportsCorrelatedSubqueries to see if it is possible to use
a correlated subquery or supportsBatchUpdates to see if it is
possible to use batch updates.
Some DatabaseMetaData methods return lists of information
in the form of ResultSet objects.
Regular ResultSet methods, such as
getString and getInt, can be used
to retrieve the data from these ResultSet objects. If
a given form of metadata is not available, the ResultSet
getter methods throw an SQLException.
Some DatabaseMetaData methods take arguments that are
String patterns. These arguments all have names such as fooPattern.
Within a pattern String, "%" means match any substring of 0 or more
characters, and "_" means match any one character. Only metadata
entries matching the search pattern are returned. If a search pattern
argument is set to null, that argument's criterion will
be dropped from the search.
A method that gets information about a feature that the driver does not
support will throw an SQLException.
In the case of methods that return a ResultSet
object, either a ResultSet object (which may be empty) is
returned or an SQLException is thrown.
数据库元信息类
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| 构造器和说明 |
|---|
DatabaseMetaData(Connection conn,
String database) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
allProceduresAreCallable()
暂时服务器允许任何用户查询所有系统表。
|
boolean |
allTablesAreSelectable()
Retrieves whether the current user can use all the tables returned
by the method
getTables in a SELECT
statement. |
boolean |
autoCommitFailureClosesAllResultSets()
当 autoCommit 为 true 时,获取 SQLException 是否指示所有打开的 ResultSets 已关闭(包括那些可保持的)
jdbc4.0
|
boolean |
dataDefinitionCausesTransactionCommit()
获取事务中的数据定义语句是否强迫该事务进行提交。
|
boolean |
dataDefinitionIgnoredInTransactions()
获取此数据库是否忽略事务中的数据定义语句。
|
boolean |
deletesAreDetected(int type)
xuguJDBC的ResultSet是离线结果集,所以无法检测到删除行。
|
boolean |
doesMaxRowSizeIncludeBlobs()
获取 getMaxRowSize 方法的返回值是否包括 SQL 数据类型 LONGVARCHAR 和 LONGVARBINARY。
|
boolean |
generatedKeyAlwaysReturned() |
ResultSet |
getAttributes(String catalog,
String schemaPattern,
String typeNamePattern,
String attributeNamePattern)
获取可在给定模式和类别中使用的用户定义类型 (UDT) 的给定类型的给定属性的描述。
|
ResultSet |
getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
获取唯一标识行的表的最佳列集合的描述。
|
ResultSet |
getCatalogs()
获取可在此数据库中的所有库名称.
|
String |
getCatalogSeparator()
获取此数据库用作类别名和表名之间的分隔符
Retrieves the
String that this database uses as the
separator between a catalog and table name. |
String |
getCatalogTerm()
获取数据库供应商用于 "catalog" 的首选术语
Retrieves the database vendor's preferred term for "catalog".
|
ResultSet |
getClientInfoProperties()
JDBC4.0
|
ResultSet |
getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
Retrieves a description of the access rights for a table's columns.
|
ResultSet |
getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
获取可在指定类别中使用的表列的描述。
|
Connection |
getConnection()
获取此元数据对象所产生的连接。
|
ResultSet |
getCrossReference(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
获取给定外键列表中外键列的描述
Retrieves a description of the foreign key columns in the given foreign key
table that reference the primary key columns of the given primary key
table (describe how one table imports another's key).
|
int |
getDatabaseMajorVersion()
获取底层数据库的主版本号
Retrieves the major version number of the underlying database.
|
int |
getDatabaseMinorVersion()
底层数据库的次版本号
Retrieves the minor version number of the underlying database.
|
String |
getDatabaseProductName()
获取此数据库产品的名称。
|
String |
getDatabaseProductVersion()
获取此数据库产品的版本号
Retrieves the version number of this database product.
|
int |
getDefaultTransactionIsolation()
获取此数据库的默认事务隔离级别
Retrieves this database's default transaction isolation level.
|
int |
getDriverMajorVersion()
获取此 JDBC 驱动程序的主版本号。
|
int |
getDriverMinorVersion()
获取此 JDBC 驱动程序的次版本号。
|
String |
getDriverName()
获取此 JDBC 驱动程序的名称。
|
String |
getDriverVersion()
获取此 JDBC 驱动程序的 String 形式的版本号.
|
ResultSet |
getExportedKeys(String catalog,
String schema,
String table)
获取引用给定表的主键列(表导入的外键)的外键列的描述。
|
String |
getExtraNameCharacters()
获取可以在不带引号的标识符名称中使用的所有“额外”字符
Retrieves all the "extra" characters that can be used in unquoted
identifier names (those beyond a-z, A-Z, 0-9 and _).
|
ResultSet |
getFunctionColumns(String catalog,
String schemaPattern,
String functionNamePattern,
String columnNamePattern)
jdbc4.0
获取给定类别的系统或用户函数参数和返回类型的描述。
|
ResultSet |
getFunctions(String catalog,
String schemaPattern,
String functionNamePattern)
获取给定类别中可用的系统和用户函数的描述。
|
String |
getIdentifierQuoteString()
获取用于引用 SQL 标识符的字符串。
|
ResultSet |
getImportedKeys(String catalog,
String schema,
String table)
Retrieves 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.
|
ResultSet |
getIndexInfoXuGu(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.
|
String |
getJDBCVersionDate()
打版的日期,方便回溯源码
|
int |
getMaxBinaryLiteralLength()
获取此数据库允许在内嵌二进制字面值中使用的最大十六进制字符数
Retrieves the maximum number of hex characters this database allows in an
inline binary literal.
|
int |
getMaxCatalogNameLength()
获取此数据库允许用于类别名称的最大字符数
Retrieves the maximum number of characters that this database allows in a
catalog name.
|
int |
getMaxCharLiteralLength()
获取此数据库允许用于字符字面值的最大字符数
Retrieves the maximum number of characters this database allows
for a character literal.
|
int |
getMaxColumnNameLength()
获取此数据库允许用于列名称的最大字符数。
|
int |
getMaxColumnsInGroupBy()
获取此数据库允许在 GROUP BY 子句中使用的最大列数。
|
int |
getMaxColumnsInIndex()
获取此数据库允许在索引中使用的最大列数。
|
int |
getMaxColumnsInOrderBy()
获取此数据库允许在 ORDER BY 子句中使用的最大列数.
|
int |
getMaxColumnsInSelect()
获取此数据库允许在 SELECT 列表中使用的最大列数
Retrieves the maximum number of columns this database allows in a
SELECT list. |
int |
getMaxColumnsInTable()
获取此数据库允许在表中使用的最大列数。
|
int |
getMaxConnections()
获取连接到此数据库的并发连接的可能最大数。
|
int |
getMaxCursorNameLength()
获取此数据库允许用于游标名称的最大字符数。
|
int |
getMaxIndexLength()
获取此数据库允许用于索引(包括索引的所有部分)的最大字节数。
|
int |
getMaxProcedureNameLength()
获取此数据库允许用于过程名称的最大字符数。
|
int |
getMaxRowSize()
获取此数据库允许在单行中使用的最大字节数。
|
int |
getMaxSchemaNameLength()
获取此数据库允许在模式名称中使用的最大字符数。
|
int |
getMaxStatementLength()
获取此数据库允许在 SQL 语句中使用的最大字符数。
|
int |
getMaxStatements()
获取在此数据库中在同一时间内可处于开放状态的最大活动语句数。
|
int |
getMaxTableNameLength()
获取此数据库允许在表名称中使用的最大字符数。
|
int |
getMaxTablesInSelect()
获取此数据库允许在 SELECT 语句中使用的表的最大数量。
|
int |
getMaxUserNameLength()
获取此数据库允许在用户名称中使用的最大字符数。
|
String |
getNumericFunctions()
获取可用于此数据库的数学函数的逗号分隔列表。
|
ResultSet |
getPrimaryKeys(String catalog,
String schema,
String table)
Retrieves a description of the given table's primary key columns.
|
ResultSet |
getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
获取给定类别的存储过程参数和结果列的描述。
|
ResultSet |
getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern) |
String |
getProcedureTerm()
获取数据库供应商用于 "procedure" 的首选术语。
|
ResultSet |
getPseudoColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern) |
int |
getResultSetHoldability()
针对 ResultSet 对象获取此数据库的默认可保存性。
|
RowIdLifetime |
getRowIdLifetime()
jre1.4.2
|
ResultSet |
getSchemas()
Retrieves the schema names available in this database.
|
ResultSet |
getSchemas(String catalog,
String schemaPattern)
jdbc 4.0
|
String |
getSchemaTerm()
获取数据库供应商用于 "schema" 的首选术语。
|
String |
getSearchStringEscape()
获取可用于转义通配符的字符串,该字符串是可用于在类别搜索参数中转义 '_' 或 '%' 的字符串.
|
String |
getSQLKeywords()
Retrieves a comma-separated list of all of this database's SQL keywords
that are NOT also SQL92 keywords.
|
int |
getSQLStateType()
指示由 SQLException.getSQLState 返回的 SQLSTATE 是 X/Open(现在称为 Open Group)SQL CLI 还是 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)
获取可在类别中使用的每个表的访问权的描述。
|
ResultSet |
getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Retrieves a description of the tables available in the given catalog.
|
ResultSet |
getTableTypes()
获取可在此数据库中使用的表类型。
|
String |
getTimeDateFunctions()
获取可用于此数据库的时间和日期函数的逗号分隔列表。
|
ResultSet |
getTypeInfo()
获取此数据库支持的所有数据类型的描述
Retrieves a description of all the standard SQL types supported by
Each type description has the following columns:
TYPE_NAME String => Type name
DATA_TYPE int => SQL data type from java.sql.Types
PRECISION int => maximum precision
LITERAL_PREFIX String => prefix used to quote a literal
(may be
null)
LITERAL_SUFFIX String => suffix used to quote a literal
(may be null)
CREATE_PARAMS String => parameters used in creating
the type (may be null)
NULLABLE short => can you use NULL for this type. |
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()
获取此 DBMS 的 URL。
|
String |
getUserName()
获取此数据库的已知的用户名称。
|
ResultSet |
getVersionColumns(String catalog,
String schema,
String table)
Retrieves a description of a table's columns that are automatically
updated when any value in a row is updated.
|
boolean |
insertsAreDetected(int type)
获取是否可以通过调用 ResultSet.rowInserted 方法检测可见行的插入。
|
boolean |
isCatalogAtStart()
获取某个类别是否出现在完全限定表名的开头。
|
boolean |
isReadOnly()
获取此数据库是否处于只读模式。
|
boolean |
isWrapperFor(Class<?> arg0) |
boolean |
locatorsUpdateCopy()
指示对 LOB 的更新是在副本上进行还是直接更新到 LOB。
|
boolean |
nullPlusNonNullIsNull()
获取此数据库是否支持 NULL 值与等于 NULL 的非 NULL 值之间的连接。
|
boolean |
nullsAreSortedAtEnd()
获取 NULL 值是否始终排在末尾,不管排序顺序如何
Retrieves whether
NULL values are sorted at the end regardless of
sort order. |
boolean |
nullsAreSortedAtStart()
获取 NULL 值是否始终排在开头,不管排序顺序如何。
|
boolean |
nullsAreSortedHigh()
获取 NULL 值是否被高排序。
|
boolean |
nullsAreSortedLow()
获取 NULL 值是否被低排序。
|
boolean |
othersDeletesAreVisible(int type)
获取由其他结果集类型进行的删除是否可见。
|
boolean |
othersInsertsAreVisible(int type)
Retrieves whether inserts made by others are visible.
|
boolean |
othersUpdatesAreVisible(int type)
Retrieves whether updates made by others are visible.
|
boolean |
ownDeletesAreVisible(int type)
获取结果集自身的删除是否可见。
|
boolean |
ownInsertsAreVisible(int type)
获取结果集自身的插入是否可见。
|
boolean |
ownUpdatesAreVisible(int type)
获取对于给定类型的 ResultSet 对象,结果集自身的更新是否可见。
|
boolean |
storesLowerCaseIdentifiers()
Retrieves whether this database treats mixed case unquoted SQL identifiers as
case insensitive and stores them in lower case.
|
boolean |
storesLowerCaseQuotedIdentifiers()
Retrieves whether this database treats mixed case quoted SQL identifiers as
case insensitive and stores them in lower case.
|
boolean |
storesMixedCaseIdentifiers()
Retrieves whether this database treats mixed case unquoted SQL identifiers as
case insensitive and stores them in mixed case.
|
boolean |
storesMixedCaseQuotedIdentifiers()
Retrieves whether this database treats mixed case quoted SQL identifiers as
case insensitive and stores them in mixed case.
|
boolean |
storesUpperCaseIdentifiers()
Retrieves whether this database treats mixed case unquoted SQL identifiers as
case insensitive and stores them in upper case.
|
boolean |
storesUpperCaseQuotedIdentifiers()
Retrieves whether this database treats mixed case quoted SQL identifiers as
case insensitive and stores them in upper case.
|
boolean |
supportsAlterTableWithAddColumn()
获取此数据库是否支持带有 add 列的 ALTER TABLE
Retrieves whether this database supports
ALTER TABLE
with add column. |
boolean |
supportsAlterTableWithDropColumn()
获取此数据库是否支持带有 drop 列的 ALTER TABLE。
|
boolean |
supportsANSI92EntryLevelSQL()
获取此数据库是否支持 ANSI92 入门级 SQL 语法。
|
boolean |
supportsANSI92FullSQL()
获取此数据库是否支持受支持的 ANSI92 完全 SQL 语法。
|
boolean |
supportsANSI92IntermediateSQL()
获取此数据库是否支持受支持的 ANSI92 中间 SQL 语法。
|
boolean |
supportsBatchUpdates()
获取此数据库是否支持批量更新。
|
boolean |
supportsCatalogsInDataManipulation()
数据库名是否可以在数据操作语句中使用
Retrieves whether a catalog name can be used in a data manipulation statement.
|
boolean |
supportsCatalogsInIndexDefinitions()
获取某个类别名称是否可以在索引定义语句中使用。
|
boolean |
supportsCatalogsInPrivilegeDefinitions()
获取某个类别名称是否可以在特权定义语句中使用。
|
boolean |
supportsCatalogsInProcedureCalls()
Retrieves whether a catalog name can be used in a procedure call statement.
|
boolean |
supportsCatalogsInTableDefinitions()
获取某个类别名称是否可以在表定义语句中使用。
|
boolean |
supportsColumnAliasing()
获取此数据库是否支持为列提供别名。
|
boolean |
supportsConvert()
Retrieves whether this database supports the
CONVERT
function between SQL types. |
boolean |
supportsConvert(int fromType,
int toType)
Retrieves whether this database supports the
CONVERT
for two given SQL types. |
boolean |
supportsCoreSQLGrammar()
获取此数据库是否支持 ODBC Core SQL 语法。
|
boolean |
supportsCorrelatedSubqueries()
获取此数据库是否支持相关子查询
Retrieves whether this database supports correlated subqueries.
|
boolean |
supportsDataDefinitionAndDataManipulationTransactions()
获取此数据库是否同时支持事务中的数据定义和数据操作语句。
|
boolean |
supportsDataManipulationTransactionsOnly()
Retrieves whether this database supports only data manipulation
statements within a transaction.
|
boolean |
supportsDifferentTableCorrelationNames()
Retrieves whether, when table correlation names are supported, they
are restricted to being different from the names of the tables.
|
boolean |
supportsExpressionsInOrderBy()
Retrieves whether this database supports expressions in
ORDER BY lists. |
boolean |
supportsExtendedSQLGrammar()
Retrieves whether this database supports the ODBC Extended SQL grammar.
|
boolean |
supportsFullOuterJoins()
获取此数据库是否支持完全嵌套的外连接
Retrieves whether this database supports full nested outer joins.
|
boolean |
supportsGetGeneratedKeys()
获取是否可以在执行语句后获取自动生成的键。
|
boolean |
supportsGroupBy()
Retrieves whether this database supports some form of
GROUP BY clause. |
boolean |
supportsGroupByBeyondSelect()
Retrieves whether this database supports using columns not included in
the
SELECT statement in a GROUP BY clause
provided that all of the columns in the SELECT statement
are included in the GROUP BY clause. |
boolean |
supportsGroupByUnrelated()
Retrieves whether this database supports using a column that is
not in the
SELECT statement in a
GROUP BY clause. |
boolean |
supportsIntegrityEnhancementFacility()
Retrieves whether this database supports the SQL Integrity
Enhancement Facility.
|
boolean |
supportsLikeEscapeClause()
Retrieves whether this database supports specifying a
LIKE escape clause. |
boolean |
supportsLimitedOuterJoins()
Retrieves whether this database provides limited support for outer
joins.
|
boolean |
supportsMinimumSQLGrammar()
Retrieves whether this database supports the ODBC Minimum SQL grammar.
|
boolean |
supportsMixedCaseIdentifiers()
Retrieves whether this database treats mixed case unquoted SQL identifiers as
case sensitive and as a result stores them in mixed case.
|
boolean |
supportsMixedCaseQuotedIdentifiers()
获取此数据库是否将大小写混写的带引号的 SQL 标识符作为区分大小写的形式处理,并且最后以大小写混合形式存储它们。
|
boolean |
supportsMultipleOpenResults()
获取是否可以同时拥有从 CallableStatement 对象中返回的多个 ResultSet 对象。
|
boolean |
supportsMultipleResultSets()
Retrieves whether this database supports getting multiple
ResultSet objects from a single call to the
method execute. |
boolean |
supportsMultipleTransactions()
获取此数据库是否允许一次打开多个事务(在不同的 connection 上)。
|
boolean |
supportsNamedParameters()
获取此数据库是否支持可调用语句的指定参数。
|
boolean |
supportsNonNullableColumns()
Retrieves whether columns in this database may be defined as non-nullable.
|
boolean |
supportsOpenCursorsAcrossCommit()
Retrieves whether this database supports keeping cursors open
across commits.
|
boolean |
supportsOpenCursorsAcrossRollback()
Retrieves whether this database supports keeping cursors open
across rollbacks.
|
boolean |
supportsOpenStatementsAcrossCommit()
Retrieves whether this database supports keeping statements open
across commits.
|
boolean |
supportsOpenStatementsAcrossRollback()
Retrieves whether this database supports keeping statements open
across rollbacks.
|
boolean |
supportsOrderByUnrelated()
Retrieves whether this database supports using a column that is
not in the
SELECT statement in an
ORDER BY clause. |
boolean |
supportsOuterJoins()
Retrieves whether this database supports some form of outer join.
|
boolean |
supportsPositionedDelete()
获取此数据库是否支持位置的 DELETE 语句。
|
boolean |
supportsPositionedUpdate()
Retrieves whether this database supports positioned
UPDATE
statements. |
boolean |
supportsResultSetConcurrency(int type,
int concurrency)
Retrieves whether this database supports the given 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)
Retrieves whether this database supports the given result set type.
|
boolean |
supportsSavepoints()
Retrieves whether this database supports savepoints.
|
boolean |
supportsSchemasInDataManipulation()
Retrieves whether a schema name can be used in a data manipulation statement.
|
boolean |
supportsSchemasInIndexDefinitions()
Retrieves whether a schema name can be used in an index definition statement.
|
boolean |
supportsSchemasInPrivilegeDefinitions()
Retrieves whether a schema name can be used in a privilege definition statement.
|
boolean |
supportsSchemasInProcedureCalls()
Retrieves whether a schema name can be used in a procedure call statement.
|
boolean |
supportsSchemasInTableDefinitions()
Retrieves whether a schema name can be used in a table definition statement.
|
boolean |
supportsSelectForUpdate()
Retrieves whether this database supports
SELECT FOR UPDATE
statements. |
boolean |
supportsStatementPooling()
Retrieves whether this database supports statement pooling.
|
boolean |
supportsStoredFunctionsUsingCallSyntax()
jdbc 4.0
|
boolean |
supportsStoredProcedures()
获取此数据库是否支持使用存储过程转义语法的存储过程调用。
|
boolean |
supportsSubqueriesInComparisons()
Retrieves whether this database supports subqueries in comparison
expressions.
|
boolean |
supportsSubqueriesInExists()
Retrieves whether this database supports subqueries in
EXISTS expressions. |
boolean |
supportsSubqueriesInIns()
Retrieves whether this database supports subqueries in
IN statements. |
boolean |
supportsSubqueriesInQuantifieds()
Retrieves whether this database supports subqueries in quantified
expressions.
|
boolean |
supportsTableCorrelationNames()
获取此数据库是否支持表关联名称。
|
boolean |
supportsTransactionIsolationLevel(int level)
Retrieves whether this database supports the given transaction isolation level.
|
boolean |
supportsTransactions()
Retrieves whether this database supports transactions.
|
boolean |
supportsUnion()
Retrieves whether this database supports SQL
UNION. |
boolean |
supportsUnionAll()
Retrieves whether this database supports SQL
UNION ALL. |
<T> T |
unwrap(Class<T> arg0) |
boolean |
updatesAreDetected(int type)
取是否可以通过调用 ResultSet.rowUpdated 方法检测可见行的更新。
|
boolean |
usesLocalFilePerTable()
获取此数据库是否为每个表使用一个文件。
|
boolean |
usesLocalFiles()
获取此数据库是否将表存储在本地文件中。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxLogicalLobSize, supportsRefCursorspublic DatabaseMetaData(Connection conn, String database) throws SQLException
SQLExceptionpublic boolean allProceduresAreCallable()
throws SQLException
allProceduresAreCallable 在接口中 DatabaseMetaDataSQLExceptionpublic boolean allTablesAreSelectable()
throws SQLException
getTables in a SELECT
statement.
获取当前用户是否可以使用 SELECT 语句中的 getTables 方法返回的所有表。allTablesAreSelectable 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic String getURL() throws SQLException
getURL 在接口中 DatabaseMetaDatanull if it cannot be
generatedSQLException - if a database access error occurspublic String getUserName() throws SQLException
getUserName 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic boolean isReadOnly()
throws SQLException
isReadOnly 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean nullsAreSortedHigh()
throws SQLException
NULL values are sorted high.
Sorted high means that NULL values
sort higher than any other value in a domain. In an ascending order,
if this method returns true, NULL values
will appear at the end. By contrast, the method
nullsAreSortedAtEnd indicates whether NULL values
are sorted at the end regardless of sort order.nullsAreSortedHigh 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean nullsAreSortedLow()
throws SQLException
NULL values are sorted low.
Sorted low means that NULL values
sort lower than any other value in a domain. In an ascending order,
if this method returns true, NULL values
will appear at the beginning. By contrast, the method
nullsAreSortedAtStart indicates whether NULL values
are sorted at the beginning regardless of sort order.nullsAreSortedLow 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean nullsAreSortedAtStart()
throws SQLException
NULL values are sorted at the start regardless
of sort order.nullsAreSortedAtStart 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean nullsAreSortedAtEnd()
throws SQLException
NULL values are sorted at the end regardless of
sort order.nullsAreSortedAtEnd 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic String getDatabaseProductName() throws SQLException
getDatabaseProductName 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getDatabaseProductVersion() throws SQLException
getDatabaseProductVersion 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getDriverName() throws SQLException
getDriverName 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getDriverVersion() throws SQLException
String.getDriverVersion 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getJDBCVersionDate()
public int getDriverMajorVersion()
getDriverMajorVersion 在接口中 DatabaseMetaDatapublic int getDriverMinorVersion()
getDriverMinorVersion 在接口中 DatabaseMetaDatapublic boolean usesLocalFiles()
throws SQLException
usesLocalFiles 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean usesLocalFilePerTable()
throws SQLException
usesLocalFilePerTable 在接口中 DatabaseMetaDatatrue if this database uses a local file for each table;
false otherwiseSQLException - if a database access error occurspublic boolean supportsMixedCaseIdentifiers()
throws SQLException
supportsMixedCaseIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean storesUpperCaseIdentifiers()
throws SQLException
storesUpperCaseIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean storesLowerCaseIdentifiers()
throws SQLException
storesLowerCaseIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean storesMixedCaseIdentifiers()
throws SQLException
storesMixedCaseIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsMixedCaseQuotedIdentifiers()
throws SQLException
supportsMixedCaseQuotedIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean storesUpperCaseQuotedIdentifiers()
throws SQLException
storesUpperCaseQuotedIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean storesLowerCaseQuotedIdentifiers()
throws SQLException
storesLowerCaseQuotedIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean storesMixedCaseQuotedIdentifiers()
throws SQLException
storesMixedCaseQuotedIdentifiers 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic String getIdentifierQuoteString() throws SQLException
getIdentifierQuoteString 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getSQLKeywords() throws SQLException
getSQLKeywords 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getNumericFunctions() throws SQLException
getNumericFunctions 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getStringFunctions() throws SQLException
getStringFunctions 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getSystemFunctions() throws SQLException
getSystemFunctions 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getTimeDateFunctions() throws SQLException
getTimeDateFunctions 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getSearchStringEscape() throws SQLException
The '_' character represents any single character; the '%' character represents any sequence of zero or more characters.
getSearchStringEscape 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getExtraNameCharacters() throws SQLException
getExtraNameCharacters 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic boolean supportsAlterTableWithAddColumn()
throws SQLException
ALTER TABLE
with add column.supportsAlterTableWithAddColumn 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsAlterTableWithDropColumn()
throws SQLException
ALTER TABLE
with drop column.supportsAlterTableWithDropColumn 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsColumnAliasing()
throws SQLException
If so, the SQL AS clause can be used to provide names for computed columns or to provide alias names for columns as required.
supportsColumnAliasing 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean nullPlusNonNullIsNull()
throws SQLException
NULL and non-NULL values being
NULL.nullPlusNonNullIsNull 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsConvert()
throws SQLException
CONVERT
function between SQL types.supportsConvert 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsConvert(int fromType,
int toType)
throws SQLException
CONVERT
for two given SQL types.supportsConvert 在接口中 DatabaseMetaDatafromType - the type to convert from; one of the type codes from
the class java.sql.TypestoType - the type to convert to; one of the type codes from
the class java.sql.Typestrue if so; false otherwiseSQLException - if a database access error occursTypespublic boolean supportsTableCorrelationNames()
throws SQLException
supportsTableCorrelationNames 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsDifferentTableCorrelationNames()
throws SQLException
supportsDifferentTableCorrelationNames 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsExpressionsInOrderBy()
throws SQLException
ORDER BY lists.supportsExpressionsInOrderBy 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsOrderByUnrelated()
throws SQLException
SELECT statement in an
ORDER BY clause.supportsOrderByUnrelated 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsGroupBy()
throws SQLException
GROUP BY clause.supportsGroupBy 在接口中 DatabaseMetaDatatrue if so; false otherwiseSQLException - if a database access error occurspublic boolean supportsGroupByUnrelated()
throws SQLException
SELECT statement in a
GROUP BY clause.supportsGroupByUnrelated 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsGroupByBeyondSelect()
throws SQLException
SELECT statement in a GROUP BY clause
provided that all of the columns in the SELECT statement
are included in the GROUP BY clause.supportsGroupByBeyondSelect 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsLikeEscapeClause()
throws SQLException
LIKE escape clause.supportsLikeEscapeClause 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsMultipleResultSets()
throws SQLException
ResultSet objects from a single call to the
method execute.supportsMultipleResultSets 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsMultipleTransactions()
throws SQLException
supportsMultipleTransactions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsNonNullableColumns()
throws SQLException
supportsNonNullableColumns 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsMinimumSQLGrammar()
throws SQLException
supportsMinimumSQLGrammar 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsCoreSQLGrammar()
throws SQLException
supportsCoreSQLGrammar 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsExtendedSQLGrammar()
throws SQLException
supportsExtendedSQLGrammar 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsANSI92EntryLevelSQL()
throws SQLException
supportsANSI92EntryLevelSQL 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsANSI92IntermediateSQL()
throws SQLException
supportsANSI92IntermediateSQL 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsANSI92FullSQL()
throws SQLException
supportsANSI92FullSQL 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsIntegrityEnhancementFacility()
throws SQLException
supportsIntegrityEnhancementFacility 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsOuterJoins()
throws SQLException
supportsOuterJoins 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsFullOuterJoins()
throws SQLException
supportsFullOuterJoins 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsLimitedOuterJoins()
throws SQLException
true if the method
supportsFullOuterJoins returns true).supportsLimitedOuterJoins 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic String getSchemaTerm() throws SQLException
getSchemaTerm 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getProcedureTerm() throws SQLException
getProcedureTerm 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic String getCatalogTerm() throws SQLException
getCatalogTerm 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic boolean isCatalogAtStart()
throws SQLException
isCatalogAtStart 在接口中 DatabaseMetaDatatrue if the catalog name appears at the beginning
of a fully qualified table name{} false otherwiseSQLException - if a database access error occurspublic String getCatalogSeparator() throws SQLException
String that this database uses as the
separator between a catalog and table name.getCatalogSeparator 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic boolean supportsSchemasInDataManipulation()
throws SQLException
supportsSchemasInDataManipulation 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSchemasInProcedureCalls()
throws SQLException
supportsSchemasInProcedureCalls 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSchemasInTableDefinitions()
throws SQLException
supportsSchemasInTableDefinitions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSchemasInIndexDefinitions()
throws SQLException
supportsSchemasInIndexDefinitions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSchemasInPrivilegeDefinitions()
throws SQLException
supportsSchemasInPrivilegeDefinitions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsCatalogsInDataManipulation()
throws SQLException
supportsCatalogsInDataManipulation 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsCatalogsInProcedureCalls()
throws SQLException
supportsCatalogsInProcedureCalls 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsCatalogsInTableDefinitions()
throws SQLException
supportsCatalogsInTableDefinitions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsCatalogsInIndexDefinitions()
throws SQLException
supportsCatalogsInIndexDefinitions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsCatalogsInPrivilegeDefinitions()
throws SQLException
supportsCatalogsInPrivilegeDefinitions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsPositionedDelete()
throws SQLException
DELETE
statements.supportsPositionedDelete 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsPositionedUpdate()
throws SQLException
UPDATE
statements.supportsPositionedUpdate 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSelectForUpdate()
throws SQLException
SELECT FOR UPDATE
statements.supportsSelectForUpdate 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsStoredProcedures()
throws SQLException
supportsStoredProcedures 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSubqueriesInComparisons()
throws SQLException
supportsSubqueriesInComparisons 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSubqueriesInExists()
throws SQLException
EXISTS expressions.supportsSubqueriesInExists 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSubqueriesInIns()
throws SQLException
IN statements.supportsSubqueriesInIns 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsSubqueriesInQuantifieds()
throws SQLException
supportsSubqueriesInQuantifieds 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsCorrelatedSubqueries()
throws SQLException
supportsCorrelatedSubqueries 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsUnion()
throws SQLException
UNION.supportsUnion 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsUnionAll()
throws SQLException
UNION ALL.supportsUnionAll 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsOpenCursorsAcrossCommit()
throws SQLException
supportsOpenCursorsAcrossCommit 在接口中 DatabaseMetaDatatrue if cursors always remain open{}
false if they might not remain openSQLException - if a database access error occurspublic boolean supportsOpenCursorsAcrossRollback()
throws SQLException
supportsOpenCursorsAcrossRollback 在接口中 DatabaseMetaDatatrue if cursors always remain open{}
false if they might not remain openSQLException - if a database access error occurspublic boolean supportsOpenStatementsAcrossCommit()
throws SQLException
supportsOpenStatementsAcrossCommit 在接口中 DatabaseMetaDatatrue if statements always remain open{}
false if they might not remain openSQLException - if a database access error occurspublic boolean supportsOpenStatementsAcrossRollback()
throws SQLException
supportsOpenStatementsAcrossRollback 在接口中 DatabaseMetaDatatrue if statements always remain open{}
false if they might not remain openSQLException - if a database access error occurspublic int getMaxBinaryLiteralLength()
throws SQLException
getMaxBinaryLiteralLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxCharLiteralLength()
throws SQLException
getMaxCharLiteralLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxColumnNameLength()
throws SQLException
getMaxColumnNameLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxColumnsInGroupBy()
throws SQLException
GROUP BY clause.getMaxColumnsInGroupBy 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxColumnsInIndex()
throws SQLException
getMaxColumnsInIndex 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxColumnsInOrderBy()
throws SQLException
ORDER BY clause.getMaxColumnsInOrderBy 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxColumnsInSelect()
throws SQLException
SELECT list.getMaxColumnsInSelect 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxColumnsInTable()
throws SQLException
getMaxColumnsInTable 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxConnections()
throws SQLException
getMaxConnections 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxCursorNameLength()
throws SQLException
getMaxCursorNameLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxIndexLength()
throws SQLException
getMaxIndexLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxSchemaNameLength()
throws SQLException
getMaxSchemaNameLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxProcedureNameLength()
throws SQLException
getMaxProcedureNameLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxCatalogNameLength()
throws SQLException
getMaxCatalogNameLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxRowSize()
throws SQLException
getMaxRowSize 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic boolean doesMaxRowSizeIncludeBlobs()
throws SQLException
getMaxRowSize includes the SQL data types
LONGVARCHAR and LONGVARBINARY.doesMaxRowSizeIncludeBlobs 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic int getMaxStatementLength()
throws SQLException
getMaxStatementLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxStatements()
throws SQLException
getMaxStatements 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxTableNameLength()
throws SQLException
getMaxTableNameLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getMaxTablesInSelect()
throws SQLException
SELECT statement.getMaxTablesInSelect 在接口中 DatabaseMetaDataSELECT
statement{} a result of zero means that there is no limit or
the limit is not knownSQLException - if a database access error occurspublic int getMaxUserNameLength()
throws SQLException
getMaxUserNameLength 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getDefaultTransactionIsolation()
throws SQLException
java.sql.Connection.getDefaultTransactionIsolation 在接口中 DatabaseMetaDataSQLException - if a database access error occursConnectionpublic boolean supportsTransactions()
throws SQLException
commit is a noop, and the isolation level is
TRANSACTION_NONE.supportsTransactions 在接口中 DatabaseMetaDatatrue if transactions are supported{}
false otherwiseSQLException - if a database access error occurspublic boolean supportsTransactionIsolationLevel(int level)
throws SQLException
supportsTransactionIsolationLevel 在接口中 DatabaseMetaDatalevel - one of the transaction isolation levels defined in
java.sql.Connectiontrue if so{} false otherwiseSQLException - if a database access error occursConnectionpublic boolean supportsDataDefinitionAndDataManipulationTransactions()
throws SQLException
supportsDataDefinitionAndDataManipulationTransactions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean supportsDataManipulationTransactionsOnly()
throws SQLException
supportsDataManipulationTransactionsOnly 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean dataDefinitionCausesTransactionCommit()
throws SQLException
dataDefinitionCausesTransactionCommit 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic boolean dataDefinitionIgnoredInTransactions()
throws SQLException
dataDefinitionIgnoredInTransactions 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
getProcedures 在接口中 DatabaseMetaDataSQLExceptionpublic 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 and PROCEDURE_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:
null)
null)
ResultSet
Note: Some databases may not return the column descriptions for a procedure. Additional columns beyond REMARKS can be defined by the database.
getProcedureColumns 在接口中 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 databaseResultSet - each row describes a stored procedure parameter or
columnSQLException - 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:
null)
null)
null)
null)
null)
null)
null)
Note: Some databases may not return information for all tables.
getTables 在接口中 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 databasetypes - a list of table types to include{} null returns all typesResultSet - each row is a table descriptionSQLException - if a database access error occurs
未区分table,global table,local table
public ResultSet getSchemas() throws SQLException
The schema column is:
null)
getSchemas 在接口中 DatabaseMetaDataResultSet object in which each row is a
schema decriptionSQLException - if a database access error occurspublic ResultSet getCatalogs() throws SQLException
The catalog column is:
getCatalogs 在接口中 DatabaseMetaDataResultSet object in which each row has a
single String column that is a catalog nameSQLException - if a database access error occurspublic ResultSet getTableTypes() throws SQLException
The table type is:
getTableTypes 在接口中 DatabaseMetaDataResultSet object in which each row has a
single String column that is a table typeSQLException - if a database access 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:
null)
null)
NULL values
NULL values
null)
null)
null if DATA_TYPE isn't REF)
null if the DATA_TYPE isn't REF)
null if the DATA_TYPE isn't REF)
null if DATA_TYPE
isn't DISTINCT or user-generated REF)
getColumns 在接口中 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 databasecolumnNamePattern - a column name pattern{} must match the column
name as it is stored in the databaseResultSet - each row is a column descriptionSQLException - if a database access error occursgetSearchStringEscape()public ResultSet getColumnPrivileges(String catalog, String schema, String table, 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:
null)
null)
null)
null if unknown
getColumnPrivileges 在接口中 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 searchschema - a schema name{} 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 searchtable - a table name{} must match the table name as it is
stored in the databasecolumnNamePattern - a column name pattern{} must match the column
name as it is stored in the databaseResultSet - each row is a column privilege descriptionSQLException - if a database access 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 privilige description has the following columns:
null)
null)
null)
null if unknown
getTablePrivileges 在接口中 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 databaseResultSet - each row is a table privilege descriptionSQLException - if a database access error occursgetSearchStringEscape()public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException
Retrieves a description of a table's optimal set of columns that uniquely identifies a row. They are ordered by SCOPE.
Each column description has the following columns:
getBestRowIdentifier 在接口中 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 searchschema - a schema name{} 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 searchtable - a table name{} must match the table name as it is stored
in the databasescope - the scope of interest{} use same values as SCOPEnullable - include columns that are nullable.ResultSet - each row is a column descriptionSQLException - if a database access error occurs
oralce全部返回ROWIDpublic ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException
Each foreign key column description has the following columns:
null)
null)
null)
being exported (may be null)
null)
being exported (may be null)
NULL if
its primary key has been updated
NULL if
its primary key has been deleted
null)
null)
getExportedKeys 在接口中 DatabaseMetaDatacatalog - a catalog name{} must match the catalog name as it
is stored in this database{} "" retrieves those without a catalog{}
null means that the catalog name should not be used to narrow
the searchschema - a schema name{} 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 searchtable - a table name{} must match the table name as it is stored
in this databaseResultSet object in which each row is a
foreign key column descriptionSQLException - if a database access error occursgetImportedKeys(java.lang.String, java.lang.String, java.lang.String)public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException
Each foreign key column description has the following columns:
null)
null)
null)
being exported (may be null)
null)
being exported (may be null)
NULL if
its primary key has been updated
NULL if
its primary key has been deleted
null)
null)
getCrossReference 在接口中 DatabaseMetaDataprimaryCatalog - a catalog name{} must match the catalog name
as it is stored in the database{} "" retrieves those without a
catalog{} null means drop catalog name from the selection criteriaprimarySchema - a schema name{} must match the schema name as
it is stored in the database{} "" retrieves those without a schema{}
null means drop schema name from the selection criteriaprimaryTable - the name of the table that exports the key{} must match
the table name as it is stored in the databaseforeignCatalog - a catalog name{} must match the catalog name as
it is stored in the database{} "" retrieves those without a
catalog{} null means drop catalog name from the selection criteriaforeignSchema - a schema name{} must match the schema name as it
is stored in the database{} "" retrieves those without a schema{}
null means drop schema name from the selection criteriaforeignTable - the name of the table that imports the key{} must match
the table name as it is stored in the databaseResultSet - each row is a foreign key column descriptionSQLException - if a database access error occursgetImportedKeys(java.lang.String, java.lang.String, java.lang.String)public ResultSet getTypeInfo() throws SQLException
Each type description has the following columns:
null)
null)
null)
null)
this database. They are ordered by DATA_TYPE and then by how closely the data type maps to the corresponding JDBC SQL type.
getTypeInfo 在接口中 DatabaseMetaDataResultSet object in which each row is an SQL
type descriptionSQLException - if a database access error occurspublic ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
Each index column description has the following columns:
null)
null)
null){}
null when TYPE is tableIndexStatistic
null when TYPE is
tableIndexStatistic
null when TYPE is
tableIndexStatistic
null if sort sequence is not supported{}
null when TYPE is tableIndexStatistic
null)
getIndexInfo 在接口中 DatabaseMetaDatacatalog - a catalog name{} must match the catalog name as it
is stored in this database{} "" retrieves those without a catalog{}
null means that the catalog name should not be used to narrow
the searchschema - a schema name{} must match the schema name
as it is stored in this database{} "" retrieves those without a schema{}
null means that the schema name should not be used to narrow
the searchtable - a table name{} must match the table name as it is stored
in this databaseunique - 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
accurateResultSet - each row is an index column descriptionSQLException - if a database access error occurs
该方法没有处理参数approximate.public ResultSet getIndexInfoXuGu(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
SQLExceptionpublic boolean supportsResultSetType(int type)
throws SQLException
supportsResultSetType 在接口中 DatabaseMetaDatatype - defined in java.sql.ResultSettrue if so{} false otherwiseSQLException - if a database access error occursConnectionpublic boolean supportsResultSetConcurrency(int type,
int concurrency)
throws SQLException
supportsResultSetConcurrency 在接口中 DatabaseMetaDatatype - defined in java.sql.ResultSetconcurrency - type defined in java.sql.ResultSettrue if so{} false otherwiseSQLException - if a database access error occursConnectionpublic boolean ownUpdatesAreVisible(int type)
throws SQLException
ResultSet object,
the result set's own updates are visible.ownUpdatesAreVisible 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if updates are visible for the given result set type{}
false otherwiseSQLException - if a database access error occurspublic boolean ownDeletesAreVisible(int type)
throws SQLException
ownDeletesAreVisible 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if deletes are visible for the given result set type{}
false otherwiseSQLException - if a database access error occurspublic boolean ownInsertsAreVisible(int type)
throws SQLException
ownInsertsAreVisible 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if inserts are visible for the given result set type{}
false otherwiseSQLException - if a database access error occurspublic boolean othersUpdatesAreVisible(int type)
throws SQLException
othersUpdatesAreVisible 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if updates made by others
are visible for the given result set type{}
false otherwiseSQLException - if a database access error occurspublic boolean othersDeletesAreVisible(int type)
throws SQLException
othersDeletesAreVisible 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if deletes made by others
are visible for the given result set type{}
false otherwiseSQLException - if a database access error occurspublic boolean othersInsertsAreVisible(int type)
throws SQLException
othersInsertsAreVisible 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if inserts made by others
are visible for the given result set type{}
false otherwiseSQLException - if a database access error occurspublic boolean updatesAreDetected(int type)
throws SQLException
ResultSet.rowUpdated.updatesAreDetected 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if changes are detected by the result set type{}
false otherwiseSQLException - if a database access error occurspublic boolean deletesAreDetected(int type)
throws SQLException
deletesAreDetected 在接口中 DatabaseMetaDataSQLExceptionpublic boolean insertsAreDetected(int type)
throws SQLException
ResultSet.rowInserted.insertsAreDetected 在接口中 DatabaseMetaDatatype - the ResultSet type{} one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEtrue if changes are detected by the specified result
set type{} false otherwiseSQLException - if a database access error occurspublic boolean supportsBatchUpdates()
throws SQLException
supportsBatchUpdates 在接口中 DatabaseMetaDatatrue if this database supports batch upcates{}
false otherwiseSQLException - if a database access error occurspublic ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
JAVA_OBJECT, STRUCT,
or DISTINCT.
Only types matching the catalog, schema, type name and type criteria are returned. They are ordered by DATA_TYPE, TYPE_SCHEM and TYPE_NAME. The type name parameter may be a fully-qualified name. In this case, the catalog and schemaPattern parameters are ignored.
Each type description has the following columns:
null)
null)
null if DATA_TYPE is not
DISTINCT or not STRUCT with REFERENCE_GENERATION = USER_DEFINED)
Note: If the driver does not support UDTs, an empty result set is returned.
getUDTs 在接口中 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 pattern name{} 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 database{} may be a fully qualified nametypes - a list of user-defined types (JAVA_OBJECT,
STRUCT, or DISTINCT) to include{} null returns all typesResultSet object in which each row describes a UDTSQLException - if a database access error occurspublic Connection getConnection() throws SQLException
getConnection 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic boolean supportsSavepoints()
throws SQLException
supportsSavepoints 在接口中 DatabaseMetaDatatrue if savepoints are supported{}
false otherwiseSQLException - if a database access error occurspublic boolean supportsNamedParameters()
throws SQLException
supportsNamedParameters 在接口中 DatabaseMetaDatatrue if named parameters are supported{}
false otherwiseSQLException - if a database access error occurspublic boolean supportsMultipleOpenResults()
throws SQLException
ResultSet objects
returned from a CallableStatement object
simultaneously.supportsMultipleOpenResults 在接口中 DatabaseMetaDatatrue if a CallableStatement object
can return multiple ResultSet objects
simultaneously{} false otherwiseSQLException - if a datanase access error occurspublic boolean supportsGetGeneratedKeys()
throws SQLException
supportsGetGeneratedKeys 在接口中 DatabaseMetaDatatrue if auto-generated keys can be retrieved
after a statement has executed{} false otherwiseSQLException - if a database access error occurspublic 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 在接口中 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 occurs
SYSDBA.sys_types.UDT_TYPE when 1001 then 'OBJECT' when 1004 then 'VARRAY' when 1005 then 'TABLE'public 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 在接口中 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 在接口中 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 occurs
SYSDBA.sys_types.UDT_TYPE when 1001 then 'OBJECT' when 1004 then 'VARRAY' when 1005 then 'TABLE'public boolean supportsResultSetHoldability(int holdability)
throws SQLException
supportsResultSetHoldability 在接口中 DatabaseMetaDataholdability - one of the following constants:
ResultSet.HOLD_CURSORS_OVER_COMMIT or
ResultSet.CLOSE_CURSORS_AT_COMMITtrue if so{} false otherwiseSQLException - if a database access error occursConnectionpublic int getResultSetHoldability()
throws SQLException
ResultSet
object.getResultSetHoldability 在接口中 DatabaseMetaDataResultSet.HOLD_CURSORS_OVER_COMMIT or
ResultSet.CLOSE_CURSORS_AT_COMMITSQLException - if a database access error occurspublic int getDatabaseMajorVersion()
throws SQLException
getDatabaseMajorVersion 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getDatabaseMinorVersion()
throws SQLException
getDatabaseMinorVersion 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getJDBCMajorVersion()
throws SQLException
getJDBCMajorVersion 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getJDBCMinorVersion()
throws SQLException
getJDBCMinorVersion 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic int getSQLStateType()
throws SQLException
SQLException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL99.getSQLStateType 在接口中 DatabaseMetaDataSQLException - if a database access error occurspublic boolean locatorsUpdateCopy()
throws SQLException
locatorsUpdateCopy 在接口中 DatabaseMetaDatatrue if updates are made to a copy of the LOB{}
false if updates are made directly to the LOBSQLException - if a database access error occurspublic boolean supportsStatementPooling()
throws SQLException
supportsStatementPooling 在接口中 DatabaseMetaDatatrue if so{} false otherwiseSQLException - if a database access error occurspublic ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException
Each column description has the following columns:
java.sql.Types
getVersionColumns 在接口中 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 searchschema - a schema name{} 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 searchtable - a table name{} must match the table name as it is stored
in the databaseResultSet object in which each row is a
column descriptionSQLException - if a database access error occurs
返回行上的自动更新列public ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException
Each primary key column description has the following columns:
null)
null)
null)
getPrimaryKeys 在接口中 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 searchschema - a schema name{} 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 searchtable - a table name{} must match the table name as it is stored
in the databaseResultSet - each row is a primary key column descriptionSQLException - if a database access error occurspublic ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException
Each primary key column description has the following columns:
null)
null)
null)
null)
NULL
if its primary key has been updated
null)
null)
getImportedKeys 在接口中 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 searchschema - a schema name{} 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 searchtable - a table name{} must match the table name as it is stored
in the databaseResultSet - each row is a primary key column descriptionSQLException - if a database access error occurs给定外键列的主键信息。参数为外键表public boolean autoCommitFailureClosesAllResultSets()
throws SQLException
autoCommitFailureClosesAllResultSets 在接口中 DatabaseMetaDataSQLExceptionpublic ResultSet getClientInfoProperties() throws SQLException
getClientInfoProperties 在接口中 DatabaseMetaDataSQLExceptionpublic ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException
getFunctionColumns 在接口中 DatabaseMetaDataSQLExceptionpublic ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
getPseudoColumns 在接口中 DatabaseMetaDataSQLExceptionpublic boolean generatedKeyAlwaysReturned()
throws SQLException
generatedKeyAlwaysReturned 在接口中 DatabaseMetaDataSQLExceptionpublic ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException
getFunctions 在接口中 DatabaseMetaDataSQLExceptionpublic RowIdLifetime getRowIdLifetime() throws SQLException
getRowIdLifetime 在接口中 DatabaseMetaDataSQLExceptionpublic ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException
getSchemas 在接口中 DatabaseMetaDataSQLExceptionpublic boolean supportsStoredFunctionsUsingCallSyntax()
throws SQLException
public boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic <T> T unwrap(Class<T> arg0) throws SQLException
unwrap 在接口中 WrapperSQLExceptionCopyright © 2025. All rights reserved.