java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.H2Dialect
All Implemented Interfaces:
Dialect
Direct Known Subclasses:
H2Dialect

public class H2Dialect extends AbstractDialect
An SQL dialect for H2.
Since:
2.0
Author:
Mark Paluch, Myeonghyeon Lee, Christph Strobl, Jens Schauder
  • Field Details

    • INSTANCE

      public static final H2Dialect INSTANCE
      Singleton instance.
  • Constructor Details

    • H2Dialect

      protected H2Dialect()
  • Method Details

    • 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.
    • getArraySupport

      public ArrayColumns getArraySupport()
      Description copied from interface: Dialect
      Returns the array support object that describes how array-typed columns are supported by this dialect.
      Returns:
      the array support object that describes how array-typed columns are supported by this dialect.
    • getIdentifierProcessing

      public IdentifierProcessing getIdentifierProcessing()
      Description copied from interface: Dialect
      Returns the IdentifierProcessing used for processing SqlIdentifier when converting them to SQL snippets or parameter names.
      Returns:
      the IdentifierProcessing. Guaranteed to be not null.
    • simpleTypes

      public Set<Class<?>> simpleTypes()
      Description copied from interface: Dialect
      Return the Set of types considered store native types that can be handeled by the driver.
      Returns:
      never null.
    • supportsSingleQueryLoading

      public boolean supportsSingleQueryLoading()