public class MySQLDialect extends AbstractColumnDialcet
functionProcessor, paddingLength
Constructor and Description |
---|
MySQLDialect()
Instantiates a new my sql dialect.
|
Modifier and Type | Method and Description |
---|---|
String |
buildSqlFuction(String sql)
Deprecated.
|
String |
buildSqlFunction(String sql)
返回经过方言函数解析后的sql
|
String |
getCurrentDate() |
String |
getLimitString(String sql,
int offset,
int limit)
getLimitString.
|
int |
getNextKey()
主键是自增时,获取下一个自增的下一个主键
|
boolean |
supportsLimit()
supportsLimit.
|
getCacheSize, getColumnName, setCacheSize, setColumnName
getDataSource, getFunctionProcessor, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setFunctionProcessor, setIncrementerName, setPaddingLength
public String getLimitString(String sql, int offset, int limit)
sql
- Stringoffset
- intlimit
- intpublic boolean supportsLimit()
supportsLimit
in interface Dialect
supportsLimit
in class AbstractDialect
public int getNextKey()
Dialect
public String getCurrentDate()
@Deprecated public String buildSqlFuction(String sql)
Dialect
Copyright © 2006–2018 TinyGroup. All rights reserved.