Class OracleDialect

    • Constructor Detail

      • OracleDialect

        public OracleDialect()
        Deprecated.
        Constructs a (DEPRECATED) Oracle9Dialect
    • Method Detail

      • getLimitString

        public String getLimitString​(String sql,
                                     boolean hasOffset)
        Deprecated.
        Description copied from class: 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).

        Overrides:
        getLimitString in class Oracle9Dialect
        Parameters:
        sql - The query to which to apply the limit.
        hasOffset - Is the query requesting an offset?
        Returns:
        the modified SQL
      • getSelectClauseNullString

        public String getSelectClauseNullString​(int sqlType)
        Deprecated.
        Description copied from class: 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.

        Overrides:
        getSelectClauseNullString in class Dialect
        Parameters:
        sqlType - The Types type code.
        Returns:
        The appropriate select clause value fragment.
      • getCurrentTimestampSelectString

        public String getCurrentTimestampSelectString()
        Deprecated.
        Description copied from class: Dialect
        Retrieve the command used to retrieve the current timestamp from the database.
        Overrides:
        getCurrentTimestampSelectString in class Oracle9Dialect
        Returns:
        The command.
      • getCurrentTimestampSQLFunctionName

        public String getCurrentTimestampSQLFunctionName()
        Deprecated.
        Description copied from class: Dialect
        The name of the database-specific SQL function for retrieving the current timestamp.
        Overrides:
        getCurrentTimestampSQLFunctionName in class Dialect
        Returns:
        The function name.