类 Oracle9Dialect

    • 构造器详细资料

      • Oracle9Dialect

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

      • getAddColumnString

        public String getAddColumnString()
        已过时。
        从类复制的说明: Dialect
        The syntax used to add a column to a table (optional).
        覆盖:
        getAddColumnString 在类中 Dialect
        返回:
        The "add column" fragment.
      • getSequenceNextValString

        public String getSequenceNextValString​(String sequenceName)
        已过时。
        从类复制的说明: Dialect
        Generate the appropriate select statement to to retrieve the next value of a sequence.

        This should be a "stand alone" select statement.

        覆盖:
        getSequenceNextValString 在类中 Dialect
        参数:
        sequenceName - the name of the sequence
        返回:
        String The "nextval" select string.
      • getSelectSequenceNextValString

        public String getSelectSequenceNextValString​(String sequenceName)
        已过时。
        从类复制的说明: Dialect
        Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.

        This differs from Dialect.getSequenceNextValString(String) in that this should return an expression usable within another statement.

        覆盖:
        getSelectSequenceNextValString 在类中 Dialect
        参数:
        sequenceName - the name of the sequence
        返回:
        The "nextval" fragment.
      • getDropSequenceString

        public String getDropSequenceString​(String sequenceName)
        已过时。
        从类复制的说明: Dialect
        Typically dialects which support sequences can drop a sequence with a single command. This is convenience form of Dialect.getDropSequenceStrings(java.lang.String) to help facilitate that.

        Dialects which support sequences and can drop a sequence in a single command need *only* override this method. Dialects which support sequences but require multiple commands to drop a sequence should instead override Dialect.getDropSequenceStrings(java.lang.String).

        覆盖:
        getDropSequenceString 在类中 Dialect
        参数:
        sequenceName - The name of the sequence
        返回:
        The sequence drop commands
      • dropConstraints

        public boolean dropConstraints()
        已过时。
        从类复制的说明: Dialect
        Do we need to drop constraints before dropping tables in this dialect?
        覆盖:
        dropConstraints 在类中 Dialect
        返回:
        True if constraints must be dropped prior to dropping the table; false otherwise.
      • getForUpdateNowaitString

        public String getForUpdateNowaitString()
        已过时。
        从类复制的说明: Dialect
        Retrieves the FOR UPDATE NOWAIT syntax specific to this dialect.
        覆盖:
        getForUpdateNowaitString 在类中 Dialect
        返回:
        The appropriate FOR UPDATE NOWAIT clause string.
      • supportsSequences

        public boolean supportsSequences()
        已过时。
        从类复制的说明: Dialect
        Does this dialect support sequences?
        覆盖:
        supportsSequences 在类中 Dialect
        返回:
        True if sequences supported; false otherwise.
      • supportsLimit

        public boolean supportsLimit()
        已过时。
        从类复制的说明: Dialect
        Does this dialect support some form of limiting query results via a SQL clause?
        覆盖:
        supportsLimit 在类中 Dialect
        返回:
        True if this dialect supports some form of LIMIT.
      • 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 在类中 Dialect
        参数:
        sql - The query to which to apply the limit.
        hasOffset - Is the query requesting an offset?
        返回:
        the modified SQL
      • getForUpdateString

        public String getForUpdateString​(String aliases)
        已过时。
        从类复制的说明: Dialect
        Get the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.
        覆盖:
        getForUpdateString 在类中 Dialect
        参数:
        aliases - The columns to be write locked.
        返回:
        The appropriate FOR UPDATE OF column_list clause string.
      • getForUpdateNowaitString

        public String getForUpdateNowaitString​(String aliases)
        已过时。
        从类复制的说明: Dialect
        Get the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked.
        覆盖:
        getForUpdateNowaitString 在类中 Dialect
        参数:
        aliases - The columns to be write locked.
        返回:
        The appropriate FOR UPDATE OF colunm_list NOWAIT clause string.
      • bindLimitParametersInReverseOrder

        public boolean bindLimitParametersInReverseOrder()
        已过时。
        从类复制的说明: Dialect
        ANSI SQL defines the LIMIT clause to be in the form LIMIT offset, limit. Does this dialect require us to bind the parameters in reverse order?
        覆盖:
        bindLimitParametersInReverseOrder 在类中 Dialect
        返回:
        true if the correct order is limit, offset
      • useMaxForLimit

        public boolean useMaxForLimit()
        已过时。
        从类复制的说明: Dialect
        Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows?

        This is easiest understood via an example. Consider you have a table with 20 rows, but you only want to retrieve rows number 11 through 20. Generally, a limit with offset would say that the offset = 11 and the limit = 10 (we only want 10 rows at a time); this is specifying the total number of returned rows. Some dialects require that we instead specify offset = 11 and limit = 20, where 20 is the "last" row we want relative to offset (i.e. total number of rows = 20 - 11 = 9)

        So essentially, is limit relative from offset? Or is limit absolute?

        覆盖:
        useMaxForLimit 在类中 Dialect
        返回:
        True if limit is relative from offset; false otherwise.
      • forUpdateOfColumns

        public boolean forUpdateOfColumns()
        已过时。
        从类复制的说明: Dialect
        Is FOR UPDATE OF syntax supported?
        覆盖:
        forUpdateOfColumns 在类中 Dialect
        返回:
        True if the database supports FOR UPDATE OF syntax; false otherwise.
      • getQuerySequencesString

        public String getQuerySequencesString()
        已过时。
        从类复制的说明: Dialect
        Get the select command used retrieve the names of all sequences.
        覆盖:
        getQuerySequencesString 在类中 Dialect
        返回:
        The select command; or null if sequences are not supported.
        另请参阅:
        SchemaUpdate
      • getSelectGUIDString

        public String getSelectGUIDString()
        已过时。
        从类复制的说明: Dialect
        Get the command used to select a GUID from the underlying database.

        Optional operation.

        覆盖:
        getSelectGUIDString 在类中 Dialect
        返回:
        The appropriate command.
      • registerResultSetOutParameter

        public int registerResultSetOutParameter​(CallableStatement statement,
                                                 int col)
                                          throws SQLException
        已过时。
        从类复制的说明: Dialect
        Registers a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returning ResultSet *by position*. Pre-Java 8, registering such ResultSet-returning parameters varied greatly across database and drivers; hence its inclusion as part of the Dialect contract.
        覆盖:
        registerResultSetOutParameter 在类中 Dialect
        参数:
        statement - The callable statement.
        col - The bind position at which to register the output param.
        返回:
        The number of (contiguous) bind positions used.
        抛出:
        SQLException - Indicates problems registering the param.
      • supportsUnionAll

        public boolean supportsUnionAll()
        已过时。
        从类复制的说明: Dialect
        Does this dialect support UNION ALL, which is generally a faster variant of UNION?
        覆盖:
        supportsUnionAll 在类中 Dialect
        返回:
        True if UNION ALL is supported; false otherwise.
      • supportsCommentOn

        public boolean supportsCommentOn()
        已过时。
        从类复制的说明: Dialect
        Does this dialect/database support commenting on tables, columns, etc?
        覆盖:
        supportsCommentOn 在类中 Dialect
        返回:
        true if commenting is supported
      • supportsCurrentTimestampSelection

        public boolean supportsCurrentTimestampSelection()
        已过时。
        从类复制的说明: Dialect
        Does this dialect support a way to retrieve the database's current timestamp value?
        覆盖:
        supportsCurrentTimestampSelection 在类中 Dialect
        返回:
        True if the current timestamp can be retrieved; false otherwise.
      • getCurrentTimestampSelectString

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

        public boolean supportsEmptyInList()
        已过时。
        从类复制的说明: Dialect
        Does this dialect support empty IN lists?

        For example, is [where XYZ in ()] a supported construct?

        覆盖:
        supportsEmptyInList 在类中 Dialect
        返回:
        True if empty in lists are supported; false otherwise.
      • supportsExistsInSelect

        public boolean supportsExistsInSelect()
        已过时。
        从类复制的说明: Dialect
        Does the dialect support an exists statement in the select clause?
        覆盖:
        supportsExistsInSelect 在类中 Dialect
        返回:
        True if exists checks are allowed in the select clause; false otherwise.
      • getInExpressionCountLimit

        public int getInExpressionCountLimit()
        已过时。
        从类复制的说明: Dialect
        Return the limit that the underlying database places on the number of elements in an IN predicate. If the database defines no such limits, simply return zero or less-than-zero.
        覆盖:
        getInExpressionCountLimit 在类中 Dialect
        返回:
        int The limit, or zero-or-less to indicate no limit.
      • getNotExpression

        public String getNotExpression​(String expression)
        已过时。
        从类复制的说明: Dialect
        Negate an expression
        覆盖:
        getNotExpression 在类中 Dialect
        参数:
        expression - The expression to negate
        返回:
        The negated expression
      • canCreateSchema

        public boolean canCreateSchema()
        已过时。
        从类复制的说明: Dialect
        Does this dialect support schema creation?
        覆盖:
        canCreateSchema 在类中 Dialect
        返回:
        True if the dialect supports schema creation; false otherwise.
      • supportsNoWait

        public boolean supportsNoWait()
        已过时。
        从类复制的说明: Dialect
        Does this dialect/database support NO_WAIT timeout.
        覆盖:
        supportsNoWait 在类中 Dialect
        返回:
        true if NO_WAIT is supported