类 Oracle10gDialect

    • 构造器详细资料

      • Oracle10gDialect

        public Oracle10gDialect()
        Constructs an Oracle10gDialect
    • 方法详细资料

      • getCrossJoinSeparator

        public String getCrossJoinSeparator()
        从类复制的说明: Dialect
        Returns the separator to use for defining cross joins when translating HQL queries.

        Typically this will be either [ cross join ] or [, ]

        Note that the spaces are important!

        覆盖:
        getCrossJoinSeparator 在类中 Oracle8iDialect
        返回:
        The cross join separator
      • getWriteLockString

        public String getWriteLockString​(int timeout)
        从类复制的说明: Dialect
        Get the string to append to SELECT statements to acquire WRITE locks for this dialect. Location of the returned string is treated the same as getForUpdateString.
        覆盖:
        getWriteLockString 在类中 Oracle9iDialect
        参数:
        timeout - in milliseconds, -1 for indefinite wait and 0 for no wait.
        返回:
        The appropriate LOCK clause string.
      • getWriteLockString

        public String getWriteLockString​(String aliases,
                                         int timeout)
        从类复制的说明: Dialect
        Get the string to append to SELECT statements to acquire WRITE locks for this dialect given the aliases of the columns to be write locked. Location of the of the returned string is treated the same as getForUpdateString.
        覆盖:
        getWriteLockString 在类中 Dialect
        参数:
        aliases - The columns to be read locked.
        timeout - in milliseconds, -1 for indefinite wait and 0 for no wait.
        返回:
        The appropriate LOCK clause string.
      • getForUpdateSkipLockedString

        public String getForUpdateSkipLockedString()
        从类复制的说明: Dialect
        Retrieves the FOR UPDATE SKIP LOCKED syntax specific to this dialect.
        覆盖:
        getForUpdateSkipLockedString 在类中 Dialect
        返回:
        The appropriate FOR UPDATE SKIP LOCKED clause string.
      • getForUpdateSkipLockedString

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

        public int registerResultSetOutParameter​(CallableStatement statement,
                                                 String name)
                                          throws SQLException
        从类复制的说明: Dialect
        Registers a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returning ResultSet *by name*. 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.
        name - The parameter name (for drivers which support named parameters).
        返回:
        The number of (contiguous) bind positions used.
        抛出:
        SQLException - Indicates problems registering the param.
      • supportsSkipLocked

        public boolean supportsSkipLocked()
        从类复制的说明: Dialect
        Does this dialect/database support SKIP_LOCKED timeout.
        覆盖:
        supportsSkipLocked 在类中 Dialect
        返回:
        true if SKIP_LOCKED is supported