📄 databasemetadata.java
字号:
* connections are supported, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsMultipleTransactions() throws SQLException; /** * This method tests whether or not columns can be defined as NOT NULL. A * fully JDBC compliant driver always returns <code>true</code>. * * @return <code>true</code> if NOT NULL columns are supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsNonNullableColumns() throws SQLException; /** * This method tests whether or not the minimum grammer for ODBC is supported. * A fully JDBC compliant driver will always return <code>true</code>. * * @return <code>true</code> if the ODBC minimum grammar is supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsMinimumSQLGrammar() throws SQLException; /** * This method tests whether or not the core grammer for ODBC is supported. * * @return <code>true</code> if the ODBC core grammar is supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsCoreSQLGrammar() throws SQLException; /** * This method tests whether or not the extended grammer for ODBC is supported. * * @return <code>true</code> if the ODBC extended grammar is supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsExtendedSQLGrammar() throws SQLException; /** * This method tests whether or not the ANSI92 entry level SQL * grammar is supported. A fully JDBC compliant drivers must return * <code>true</code>. * * @return <code>true</code> if the ANSI92 entry level SQL grammar is * supported, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsANSI92EntryLevelSQL() throws SQLException; /** * This method tests whether or not the ANSI92 intermediate SQL * grammar is supported. * * @return <code>true</code> if the ANSI92 intermediate SQL grammar is * supported, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsANSI92IntermediateSQL() throws SQLException; /** * This method tests whether or not the ANSI92 full SQL * grammar is supported. * * @return <code>true</code> if the ANSI92 full SQL grammar is * supported, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsANSI92FullSQL() throws SQLException; /** * This method tests whether or not the SQL integrity enhancement * facility is supported. * * @return <code>true</code> if the integrity enhancement facility is * supported, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsIntegrityEnhancementFacility() throws SQLException; /** * This method tests whether or not the database supports outer joins. * * @return <code>true</code> if outer joins are supported, <code>false</code> * otherwise. * @exception SQLException If an error occurs. */ boolean supportsOuterJoins() throws SQLException; /** * This method tests whether or not the database supports full outer joins. * * @return <code>true</code> if full outer joins are supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsFullOuterJoins() throws SQLException; /** * This method tests whether or not the database supports limited outer joins. * * @return <code>true</code> if limited outer joins are supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsLimitedOuterJoins() throws SQLException; /** * This method returns the vendor's term for "schema". * * @return The vendor's term for schema. * @exception SQLException if an error occurs. */ String getSchemaTerm() throws SQLException; /** * This method returns the vendor's term for "procedure". * * @return The vendor's term for procedure. * @exception SQLException if an error occurs. */ String getProcedureTerm() throws SQLException; /** * This method returns the vendor's term for "catalog". * * @return The vendor's term for catalog. * @exception SQLException if an error occurs. */ String getCatalogTerm() throws SQLException; /** * This method tests whether a catalog name appears at the beginning of * a fully qualified table name. * * @return <code>true</code> if the catalog name appears at the beginning, * <code>false</code> if it appears at the end. * @exception SQLException If an error occurs. */ boolean isCatalogAtStart() throws SQLException; /** * This method returns the separator between the catalog name and the * table name. * * @return The separator between the catalog name and the table name. * @exception SQLException If an error occurs. */ String getCatalogSeparator() throws SQLException; /** * This method tests whether a catalog name can appear in a data * manipulation statement. * * @return <code>true</code> if a catalog name can appear in a data * manipulation statement, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSchemasInDataManipulation() throws SQLException; /** * This method tests whether a catalog name can appear in a procedure * call * * @return <code>true</code> if a catalog name can appear in a procedure * call, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSchemasInProcedureCalls() throws SQLException; /** * This method tests whether a catalog name can appear in a table definition. * * @return <code>true</code> if a catalog name can appear in a table * definition, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSchemasInTableDefinitions() throws SQLException; /** * This method tests whether a catalog name can appear in an index definition. * * @return <code>true</code> if a catalog name can appear in an index * definition, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSchemasInIndexDefinitions() throws SQLException; /** * This method tests whether a catalog name can appear in privilege definitions. * * @return <code>true</code> if a catalog name can appear in privilege * definition, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSchemasInPrivilegeDefinitions() throws SQLException; /** * This method tests whether a catalog name can appear in a data * manipulation statement. * * @return <code>true</code> if a catalog name can appear in a data * manipulation statement, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsCatalogsInDataManipulation() throws SQLException; /** * This method tests whether a catalog name can appear in a procedure * call * * @return <code>true</code> if a catalog name can appear in a procedure * call, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsCatalogsInProcedureCalls() throws SQLException; /** * This method tests whether a catalog name can appear in a table definition. * * @return <code>true</code> if a catalog name can appear in a table * definition, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsCatalogsInTableDefinitions() throws SQLException; /** * This method tests whether a catalog name can appear in an index definition. * * @return <code>true</code> if a catalog name can appear in an index * definition, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsCatalogsInIndexDefinitions() throws SQLException; /** * This method tests whether a catalog name can appear in privilege definitions. * * @return <code>true</code> if a catalog name can appear in privilege * definition, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsCatalogsInPrivilegeDefinitions() throws SQLException; /** * This method tests whether or not that database supports positioned * deletes. * * @return <code>true</code> if positioned deletes are supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsPositionedDelete() throws SQLException; /** * This method tests whether or not that database supports positioned * updates. * * @return <code>true</code> if positioned updates are supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsPositionedUpdate() throws SQLException; /** * This method tests whether or not SELECT FOR UPDATE is supported by the * database. * * @return <code>true</code> if SELECT FOR UPDATE is supported * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSelectForUpdate() throws SQLException; /** * This method tests whether or not stored procedures are supported on * this database. * * @return <code>true</code> if stored procedures are supported, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsStoredProcedures() throws SQLException; /** * This method tests whether or not subqueries are allowed in comparisons. * A fully JDBC compliant driver will always return <code>true</code>. * * @return <code>true</code> if subqueries are allowed in comparisons, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSubqueriesInComparisons() throws SQLException; /** * This method tests whether or not subqueries are allowed in exists * expressions. A fully JDBC compliant driver will always return * <code>true</code>. * * @return <code>true</code> if subqueries are allowed in exists * expressions, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSubqueriesInExists() throws SQLException; /** * This method tests whether subqueries are allowed in IN statements. * A fully JDBC compliant driver will always return <code>true</code>. * * @return <code>true</code> if the driver supports subqueries in IN * statements, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSubqueriesInIns() throws SQLException; /** * This method tests whether or not subqueries are allowed in quantified * expressions. A fully JDBC compliant driver will always return * <code>true</code>. * * @return <code>true</code> if subqueries are allowed in quantified * expressions, <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsSubqueriesInQuantifieds() throws SQLException; /** * This method test whether or not correlated subqueries are allowed. A * fully JDBC compliant driver will always return <code>true</code>. * * @return <code>true</code> if correlated subqueries are allowed, * <code>false</code> otherwise. * @exception SQLException If an error occurs. */ boolean supportsCorrelatedSubqueries() throws SQLException; /** * This method tests whether or not the UNION statement is supported. * * @return <code>true</code> if UNION is supported, <code>false</code> * otherwise. * @exception SQLException If an error occurs. */ boolean supportsUnion() throws SQLException; /** * This method tests whether or not the UNION ALL statement is supported. * * @return <code>true</code> if UNION ALL is supported, <code>false</code> * otherwise. * @exception SQLException If an error occurs. */ boolean supportsUnionAll() throws SQLException; /** * This method tests whether or not the database supports cursors * remaining open across commits. * * @return <code>true</code> if cursors can remain open across commits,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -