Package io.jmix.eclipselink.impl.dbms
Class MysqlDbmsFeatures
java.lang.Object
io.jmix.eclipselink.impl.dbms.MysqlDbmsFeatures
- All Implemented Interfaces:
DbmsFeatures
@Component("mysqlDbmsFeatures")
public class MysqlDbmsFeatures
extends Object
implements DbmsFeatures
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides information aboutjmix.data.dbmsTypeandjmix.data.dbmsVersionthis bean designed for.booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.data.persistence.DbmsFeatures
getMaxIdsBatchSize, useOrderByForPaging
-
Constructor Details
-
MysqlDbmsFeatures
public MysqlDbmsFeatures()
-
-
Method Details
-
getJpaParameters
- Specified by:
getJpaParametersin interfaceDbmsFeatures- Returns:
- JPA implementation properties to set in persistence.xml
-
getTimeStampType
- Specified by:
getTimeStampTypein interfaceDbmsFeatures- Returns:
- name of data type storing date and time
-
getUuidTypeClassName
- Specified by:
getUuidTypeClassNamein interfaceDbmsFeatures- Returns:
- name of class representing UUID in JDBC driver, or null if no special class required
-
getTransactionTimeoutStatement
- Specified by:
getTransactionTimeoutStatementin interfaceDbmsFeatures- 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
- Specified by:
getUniqueConstraintViolationPatternin interfaceDbmsFeatures- Returns:
- regexp to extract a unique constraint name from an exception message
-
isNullsLastSorting
public boolean isNullsLastSorting()- Specified by:
isNullsLastSortingin interfaceDbmsFeatures- Returns:
- default sort order of null values
-
supportsLobSortingAndFiltering
public boolean supportsLobSortingAndFiltering()- Specified by:
supportsLobSortingAndFilteringin interfaceDbmsFeatures- Returns:
- true if the DBMS supports equality check and sorting for LOB columns
-
getTypeAndVersion
Description copied from interface:DbmsFeaturesProvides information aboutjmix.data.dbmsTypeandjmix.data.dbmsVersionthis bean designed for. Version can be empty.- Specified by:
getTypeAndVersionin interfaceDbmsFeatures
-