Class HsqlDbmsFeatures

java.lang.Object
io.jmix.eclipselink.impl.dbms.HsqlDbmsFeatures
All Implemented Interfaces:
DbmsFeatures

@Component("hsqlDbmsFeatures") public class HsqlDbmsFeatures extends Object implements DbmsFeatures
  • Constructor Details

    • HsqlDbmsFeatures

      public HsqlDbmsFeatures()
  • Method Details

    • getJpaParameters

      public Map<String,String> getJpaParameters()
      Specified by:
      getJpaParameters in interface DbmsFeatures
      Returns:
      JPA implementation properties to set in persistence.xml
    • getTimeStampType

      public String getTimeStampType()
      Specified by:
      getTimeStampType in interface DbmsFeatures
      Returns:
      name of data type storing date and time
    • getUuidTypeClassName

      @Nullable public String getUuidTypeClassName()
      Specified by:
      getUuidTypeClassName in interface DbmsFeatures
      Returns:
      name of class representing UUID in JDBC driver, or null if no special class required
    • getTransactionTimeoutStatement

      @Nullable public String getTransactionTimeoutStatement()
      Specified by:
      getTransactionTimeoutStatement in interface DbmsFeatures
      Returns:
      statement to issue for setting the current transaction timeout, or null if not required.

      The statement text should contain %d placeholder that will be replaced by timeout value in milliseconds.

    • getUniqueConstraintViolationPattern

      public String getUniqueConstraintViolationPattern()
      Specified by:
      getUniqueConstraintViolationPattern in interface DbmsFeatures
      Returns:
      regexp to extract a unique constraint name from an exception message
    • isNullsLastSorting

      public boolean isNullsLastSorting()
      Specified by:
      isNullsLastSorting in interface DbmsFeatures
      Returns:
      default sort order of null values
    • supportsLobSortingAndFiltering

      public boolean supportsLobSortingAndFiltering()
      Specified by:
      supportsLobSortingAndFiltering in interface DbmsFeatures
      Returns:
      true if the DBMS supports equality check and sorting for LOB columns
    • getTypeAndVersion

      public String getTypeAndVersion()
      Description copied from interface: DbmsFeatures
      Provides information about jmix.data.dbmsType and jmix.data.dbmsVersion this bean designed for. Version can be empty.
      Specified by:
      getTypeAndVersion in interface DbmsFeatures