public class SingleDistributedMySQLDialect extends MySQLDialect implements org.springframework.beans.factory.InitializingBean
functionProcessor, paddingLength
Constructor and Description |
---|
SingleDistributedMySQLDialect() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getNextKey()
主键是自增时,获取下一个自增的下一个主键
|
void |
setSequenceName(String sequenceName) |
void |
setStep(int step) |
buildSqlFuction, buildSqlFunction, getCurrentDate, getLimitString, supportsLimit
getCacheSize, getColumnName, setCacheSize, setColumnName
getDataSource, getFunctionProcessor, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setFunctionProcessor, setIncrementerName, setPaddingLength
public void setSequenceName(String sequenceName)
public void setStep(int step)
public int getNextKey()
Dialect
getNextKey
in interface Dialect
getNextKey
in class MySQLDialect
Copyright © 2006–2018 TinyGroup. All rights reserved.