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
-
Method Summary
Modifier and TypeMethodDescriptionProvides information aboutjmix.data.dbmsType
andjmix.data.dbmsVersion
this bean designed for.boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.data.persistence.DbmsFeatures
getMaxIdsBatchSize, useOrderByForPaging
-
Constructor Details
-
MysqlDbmsFeatures
public MysqlDbmsFeatures()
-
-
Method Details
-
getJpaParameters
- Specified by:
getJpaParameters
in interfaceDbmsFeatures
- Returns:
- JPA implementation properties to set in persistence.xml
-
getTimeStampType
- Specified by:
getTimeStampType
in interfaceDbmsFeatures
- Returns:
- name of data type storing date and time
-
getUuidTypeClassName
- Specified by:
getUuidTypeClassName
in interfaceDbmsFeatures
- Returns:
- name of class representing UUID in JDBC driver, or null if no special class required
-
getTransactionTimeoutStatement
- Specified by:
getTransactionTimeoutStatement
in 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:
getUniqueConstraintViolationPattern
in interfaceDbmsFeatures
- Returns:
- regexp to extract a unique constraint name from an exception message
-
isNullsLastSorting
public boolean isNullsLastSorting()- Specified by:
isNullsLastSorting
in interfaceDbmsFeatures
- Returns:
- default sort order of null values
-
supportsLobSortingAndFiltering
public boolean supportsLobSortingAndFiltering()- Specified by:
supportsLobSortingAndFiltering
in interfaceDbmsFeatures
- Returns:
- true if the DBMS supports equality check and sorting for LOB columns
-
getTypeAndVersion
Description copied from interface:DbmsFeatures
Provides information aboutjmix.data.dbmsType
andjmix.data.dbmsVersion
this bean designed for. Version can be empty.- Specified by:
getTypeAndVersion
in interfaceDbmsFeatures
-