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