Package io.jmix.data.impl.dbms
Class MysqlSequenceSupport
java.lang.Object
io.jmix.data.impl.dbms.MysqlSequenceSupport
- All Implemented Interfaces:
SequenceSupport
@Component("mysqlSequenceSupport")
public class MysqlSequenceSupport
extends Object
implements SequenceSupport
-
Field Summary
Fields inherited from interface io.jmix.data.persistence.SequenceSupport
SQL_DELIMITER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSequenceSql
(String sequenceName, long startValue, long increment) deleteSequenceSql
(String sequenceName) getCurrentValueSql
(String sequenceName) getNextValueSql
(String sequenceName) modifySequenceSql
(String sequenceName, long startWith) sequenceExistsSql
(String sequenceName)
-
Constructor Details
-
MysqlSequenceSupport
public MysqlSequenceSupport()
-
-
Method Details
-
sequenceExistsSql
- Specified by:
sequenceExistsSql
in interfaceSequenceSupport
-
createSequenceSql
- Specified by:
createSequenceSql
in interfaceSequenceSupport
-
modifySequenceSql
- Specified by:
modifySequenceSql
in interfaceSequenceSupport
-
deleteSequenceSql
- Specified by:
deleteSequenceSql
in interfaceSequenceSupport
-
getNextValueSql
- Specified by:
getNextValueSql
in interfaceSequenceSupport
-
getCurrentValueSql
- Specified by:
getCurrentValueSql
in interfaceSequenceSupport
-