Class DB2400V7R3Dialect

  • All Implemented Interfaces:
    ConversionContext

    public class DB2400V7R3Dialect
    extends DB2400Dialect
    An SQL dialect for i. This class provides support for DB2 Universal Database for i V7R1 and later, also known as DB2/400.
    • Constructor Detail

      • DB2400V7R3Dialect

        public DB2400V7R3Dialect()
    • Method Detail

      • supportsSequences

        public boolean supportsSequences()
        Description copied from class: Dialect
        Does this dialect support sequences?
        Overrides:
        supportsSequences in class DB2400Dialect
        Returns:
        True if sequences supported; false otherwise.
      • getQuerySequencesString

        public java.lang.String getQuerySequencesString()
        Description copied from class: Dialect
        Get the select command used retrieve the names of all sequences.
        Overrides:
        getQuerySequencesString in class DB2400Dialect
        Returns:
        The select command; or null if sequences are not supported.
        See Also:
        SchemaUpdate
      • getLimitString

        public java.lang.String getLimitString​(java.lang.String sql,
                                               int offset,
                                               int limit)
        Description copied from class: Dialect
        Given a limit and an offset, apply the limit clause to the query.
        Overrides:
        getLimitString in class DB2400Dialect
        Parameters:
        sql - The query to which to apply the limit.
        offset - The offset of the limit
        limit - The limit of the limit ;)
        Returns:
        The modified query statement with the limit applied.