Package io.jmix.data.persistence
Interface DbmsFeatures
- All Known Implementing Classes:
- HsqlDbmsFeatures,- MysqlDbmsFeatures,- OracleDbmsFeatures,- PostgresqlDbmsFeatures,- SqlServerDbmsFeatures
public interface DbmsFeatures
Interface defining methods of getting some DBMS-specific values. It must be implemented for each supported DBMS type
 and version.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiondefault IntegerProvides information aboutjmix.data.dbmsTypeandjmix.data.dbmsVersionthis bean designed for.booleanbooleandefault boolean
- 
Method Details- 
getJpaParameters- Returns:
- JPA implementation properties to set in persistence.xml
 
- 
getTimeStampTypeString getTimeStampType()- Returns:
- name of data type storing date and time
 
- 
getUuidTypeClassName- Returns:
- name of class representing UUID in JDBC driver, or null if no special class required
 
- 
getTransactionTimeoutStatement- 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. 
 
- 
getUniqueConstraintViolationPatternString getUniqueConstraintViolationPattern()- Returns:
- regexp to extract a unique constraint name from an exception message
 
- 
isNullsLastSortingboolean isNullsLastSorting()- Returns:
- default sort order of null values
 
- 
supportsLobSortingAndFilteringboolean supportsLobSortingAndFiltering()- Returns:
- true if the DBMS supports equality check and sorting for LOB columns
 
- 
useOrderByForPagingdefault boolean useOrderByForPaging()- Returns:
- true if the DBMS supports paging only with order by
 
- 
getMaxIdsBatchSize- Returns:
- maximum number of values that can be used in the "IN" operator in a query.
 nullis returned if there is no any limit
 
- 
getTypeAndVersionString getTypeAndVersion()Provides information aboutjmix.data.dbmsTypeandjmix.data.dbmsVersionthis bean designed for. Version can be empty.
 
-