jdbcdatabasemetadata.java

来自「一个用java写的开源的数据库系统」· Java 代码 · 共 1,945 行 · 第 1/5 页

JAVA
1,945
字号
     *     * HSQLDB supports table correlation names; this method always     * returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsTableCorrelationNames() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether, when table correlation names are supported, they     * are restricted to being different from the names of the tables. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB requires that table correlation names are different from the     * names of the tables; this method always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsDifferentTableCorrelationNames()    throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports expressions in     * <code>ORDER BY</code> lists. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB supports expressions in <code>ORDER BY</code> lists; this     * method always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsExpressionsInOrderBy() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports using a column that is     * not in the <code>SELECT</code> statement in an     * <code>ORDER BY</code> clause. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB supports using a column that is not in the <code>SELECT</code>     * statement in an <code>ORDER BY</code> clause; this method always     * returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsOrderByUnrelated() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports some form of     * <code>GROUP BY</code> clause. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB supports using the <code>GROUP BY</code> clause; this method     * always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsGroupBy() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports using a column that is     * not in the <code>SELECT</code> statement in a     * <code>GROUP BY</code> clause. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB supports using a column that is     * not in the <code>SELECT</code> statement in a     * <code>GROUP BY</code> clause; this method     * always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsGroupByUnrelated() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports using columns not included in     * the <code>SELECT</code> statement in a <code>GROUP BY</code> clause     * provided that all of the columns in the <code>SELECT</code> statement     * are included in the <code>GROUP BY</code> clause. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB supports using columns not included in     * the <code>SELECT</code> statement in a <code>GROUP BY</code> clause     * provided that all of the columns in the <code>SELECT</code> statement     * are included in the <code>GROUP BY</code> clause; this method     * always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsGroupByBeyondSelect() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports specifying a     * <code>LIKE</code> escape clause. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB supports specifying a     * <code>LIKE</code> escape clause; this method     * always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsLikeEscapeClause() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports getting multiple     * <code>ResultSet</code> objects from a single call to the     * method <code>execute</code>. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * Up to and including 1.7.1, HSQLDB does not support getting multiple     * <code>ResultSet</code> objects from a single call to the     * method <code>execute</code>; this method     * always returns <code>false</code>. <p>     *     * This behaviour <i>may</i> change in a future release.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsMultipleResultSets() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return false;    }    /**     * Retrieves whether this database allows having multiple     * transactions open at once (on different connections). <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB allows having multiple     * transactions open at once (on different connections); this method     * always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsMultipleTransactions() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether columns in this database may be defined as     * non-nullable. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * HSQLDB supports the specification of non-nullable columns; this method     * always returns <code>true</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsNonNullableColumns() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return true;    }    /**     * Retrieves whether this database supports the ODBC Minimum SQL grammar. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * up to and including 1.7.1, HSQLDB does not support the ODBC     * Minimum SQL grammar; this method     * always returns <code>false</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsMinimumSQLGrammar() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return false;    }    /**     * Retrieves whether this database supports the ODBC Core SQL grammar. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * up to and including 1.7.1, HSQLDB does not support the ODBC     * Core SQL grammar; this method     * always returns <code>false</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsCoreSQLGrammar() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return false;    }    /**     * Retrieves whether this database supports the ODBC Extended SQL grammar. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * up to and including 1.7.1, HSQLDB does not support the ODBC     * Extended SQL grammar; this method     * always returns <code>false</code>.     * </span>     * <!-- end release-specific documentation -->     *     *     * @return <code>true</code> if so; <code>false</code> otherwise     * @exception SQLException if a database access error occurs     */    public boolean supportsExtendedSQLGrammar() throws SQLException {        if (Trace.TRACE) {            Trace.trace();        }        return false;    }    /**     * Retrieves whether this database supports the ANSI92 entry level SQL     * grammar. <p>     *     * <!-- start release-specific documentation -->     * <span class="ReleaseSpecificDocumentation">     * <b>HSQLDB-Specific Information:</b> <p>     *     * up to and including 1.7.1, HSQLDB does not support the ANSI92 entry     * level SQL grammar; this method     * always returns <code>false</code>.     * </span>     * <!-- end release-specific documentation -->     *

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?