类 OracleDialect

  • 所有已实现的接口:
    ConversionContext

    @Deprecated
    public class OracleDialect
    extends Oracle9Dialect
    已过时。
    Use Oracle8iDialect instead.
    An SQL dialect for Oracle, compatible with Oracle 8.
    作者:
    Gavin King
    • 构造器详细资料

      • OracleDialect

        public OracleDialect()
        已过时。
        Constructs a (DEPRECATED) Oracle9Dialect
    • 方法详细资料

      • getLimitString

        public String getLimitString​(String sql,
                                     boolean hasOffset)
        已过时。
        从类复制的说明: Dialect
        Apply a limit clause to the query.

        Typically dialects utilize variable limit clauses when they support limits. Thus, when building the select command we do not actually need to know the limit or the offset since we will just be using placeholders.

        Here we do still pass along whether or not an offset was specified so that dialects not supporting offsets can generate proper exceptions. In general, dialects will override one or the other of this method and Dialect.getLimitString(String, int, int).

        覆盖:
        getLimitString 在类中 Oracle9Dialect
        参数:
        sql - The query to which to apply the limit.
        hasOffset - Is the query requesting an offset?
        返回:
        the modified SQL
      • getSelectClauseNullString

        public String getSelectClauseNullString​(int sqlType)
        已过时。
        从类复制的说明: Dialect
        Given a Types type code, determine an appropriate null value to use in a select clause.

        One thing to consider here is that certain databases might require proper casting for the nulls here since the select here will be part of a UNION/UNION ALL.

        覆盖:
        getSelectClauseNullString 在类中 Dialect
        参数:
        sqlType - The Types type code.
        返回:
        The appropriate select clause value fragment.
      • getCurrentTimestampSelectString

        public String getCurrentTimestampSelectString()
        已过时。
        从类复制的说明: Dialect
        Retrieve the command used to retrieve the current timestamp from the database.
        覆盖:
        getCurrentTimestampSelectString 在类中 Oracle9Dialect
        返回:
        The command.
      • getCurrentTimestampSQLFunctionName

        public String getCurrentTimestampSQLFunctionName()
        已过时。
        从类复制的说明: Dialect
        The name of the database-specific SQL function for retrieving the current timestamp.
        覆盖:
        getCurrentTimestampSQLFunctionName 在类中 Dialect
        返回:
        The function name.