类 RDMSOS2200Dialect

  • 所有已实现的接口:
    ConversionContext

    public class RDMSOS2200Dialect
    extends Dialect
    This is the Hibernate dialect for the Unisys 2200 Relational Database (RDMS). This dialect was developed for use with Hibernate 3.0.5. Other versions may require modifications to the dialect.

    Version History: Also change the version displayed below in the constructor 1.1 1.0 2005-10-24 CDH - First dated version for use with CP 11

    作者:
    Ploski and Hanson
    • 构造器详细资料

      • RDMSOS2200Dialect

        public RDMSOS2200Dialect()
        Constructs a RDMSOS2200Dialect
    • 方法详细资料

      • qualifyIndexName

        public boolean qualifyIndexName()
        RDMS does not support qualifying index names with the schema name.

        Do we need to qualify index names with the schema name?

        覆盖:
        qualifyIndexName 在类中 Dialect
        返回:
        boolean
      • forUpdateOfColumns

        public boolean forUpdateOfColumns()
        The RDMS DB supports the 'FOR UPDATE OF' clause. However, the RDMS-JDBC driver does not support this feature, so a false is return. The base dialect also returns a false, but we will leave this over-ride in to make sure it stays false.

        Is FOR UPDATE OF syntax supported?

        覆盖:
        forUpdateOfColumns 在类中 Dialect
        返回:
        True if the database supports FOR UPDATE OF syntax; false otherwise.
      • getForUpdateString

        public String getForUpdateString()
        Since the RDMS-JDBC driver does not support for updates, this string is set to an empty string. Whenever, the driver does support this feature, the returned string should be " FOR UPDATE OF". Note that RDMS does not support the string 'FOR UPDATE' string.

        Get the string to append to SELECT statements to acquire locks for this dialect.

        覆盖:
        getForUpdateString 在类中 Dialect
        返回:
        The appropriate FOR UPDATE clause string.
      • supportsCascadeDelete

        public boolean supportsCascadeDelete()
        RDMS does not support Cascade Deletes. Need to review this in the future when support is provided.

        Does this dialect support cascaded delete on foreign key definitions?

        覆盖:
        supportsCascadeDelete 在类中 Dialect
        返回:
        true indicates that the dialect does support cascaded delete on foreign keys.
      • supportsOuterJoinForUpdate

        public boolean supportsOuterJoinForUpdate()
        Currently, RDMS-JDBC does not support ForUpdate. Need to review this in the future when support is provided.

        Does this dialect support FOR UPDATE in conjunction with outer joined rows?

        覆盖:
        supportsOuterJoinForUpdate 在类中 Dialect
        返回:
        True if outer joined rows can be locked via FOR UPDATE.
      • getAddColumnString

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

        public String getNullColumnString()
        从类复制的说明: Dialect
        The keyword used to specify a nullable column.
        覆盖:
        getNullColumnString 在类中 Dialect
        返回:
        String
      • supportsSequences

        public boolean supportsSequences()
        从类复制的说明: Dialect
        Does this dialect support sequences?
        覆盖:
        supportsSequences 在类中 Dialect
        返回:
        True if sequences supported; false otherwise.
      • 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.
      • getLimitHandler

        public LimitHandler getLimitHandler()
        从类复制的说明: Dialect
        Returns the delegate managing LIMIT clause.
        覆盖:
        getLimitHandler 在类中 Dialect
        返回:
        LIMIT clause delegate.
      • 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.
      • supportsLimitOffset

        public boolean supportsLimitOffset()
        从类复制的说明: Dialect
        Does this dialect's LIMIT support (if any) additionally support specifying an offset?
        覆盖:
        supportsLimitOffset 在类中 Dialect
        返回:
        True if the dialect supports an offset within the limit support.
      • getLimitString

        public String getLimitString​(String sql,
                                     int offset,
                                     int limit)
        从类复制的说明: Dialect
        Given a limit and an offset, apply the limit clause to the query.
        覆盖:
        getLimitString 在类中 Dialect
        参数:
        sql - The query to which to apply the limit.
        offset - The offset of the limit
        limit - The limit of the limit ;)
        返回:
        The modified query statement with the limit applied.
      • supportsVariableLimit

        public boolean supportsVariableLimit()
        从类复制的说明: Dialect
        Does this dialect support bind variables (i.e., prepared statement parameters) for its limit/offset?
        覆盖:
        supportsVariableLimit 在类中 Dialect
        返回:
        True if bind variables can be used; false otherwise.
      • 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.
      • getLockingStrategy

        public LockingStrategy getLockingStrategy​(Lockable lockable,
                                                  LockMode lockMode)
        从类复制的说明: Dialect
        Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.
        覆盖:
        getLockingStrategy 在类中 Dialect
        参数:
        lockable - The persister for the entity to be locked.
        lockMode - The type of lock to be acquired.
        返回:
        The appropriate locking strategy.