java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.Db2Dialect
All Implemented Interfaces:
Dialect

public class Db2Dialect extends AbstractDialect
An SQL dialect for DB2.
Since:
2.0
Author:
Jens Schauder, Mikhail Polivakha
  • Field Details

    • INSTANCE

      @Deprecated(forRemoval=true) public static final Db2Dialect INSTANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
      use the org.springframework.data.jdbc.core.dialect.JdbcDb2Dialect directly.
      Singleton instance.
  • Constructor Details

    • Db2Dialect

      protected Db2Dialect()
  • Method Details

    • getIdGeneration

      public IdGeneration getIdGeneration()
    • limit

      public LimitClause limit()
      Description copied from interface: Dialect
      Return the LimitClause used by this dialect.
      Returns:
      the LimitClause used by this dialect.
    • lock

      public LockClause lock()
      Description copied from interface: Dialect
      Return the LockClause used by this dialect.
      Returns:
      the LockClause used by this dialect.
    • getConverters

      public Collection<Object> getConverters()
      Description copied from interface: Dialect
      Return a collection of converters for this dialect.
      Returns:
      a collection of converters for this dialect.