public class DB2Dialect extends AbstractSequenceDialect
functionProcessor, paddingLength| Constructor and Description |
|---|
DB2Dialect() |
| 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)
获取分页查询sql
|
protected String |
getSequenceQuery()
Return the database-specific query to use for retrieving a sequence value.
|
boolean |
supportsLimit()
是否支持分页
|
getNextKeygetDataSource, getFunctionProcessor, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setFunctionProcessor, setIncrementerName, setPaddingLengthpublic boolean supportsLimit()
DialectsupportsLimit in interface DialectsupportsLimit in class AbstractDialectpublic String getLimitString(String sql, int offset, int limit)
Dialectsql - 查询sqloffset - 分页查询起始行数limit - 分页查询每页条数public String getCurrentDate()
@Deprecated public String buildSqlFuction(String sql)
Dialectpublic String buildSqlFunction(String sql)
Dialectprotected String getSequenceQuery()
AbstractSequenceDialectThe provided SQL is supposed to result in a single row with a single
column that allows for extracting a long value.
getSequenceQuery in class AbstractSequenceDialectCopyright © 2006–2018 TinyGroup. All rights reserved.