public class OracleDialect extends AbstractSequenceDialect
functionProcessor, paddingLength
Constructor and Description |
---|
OracleDialect() |
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()
是否支持分页
|
getNextKey
getDataSource, getFunctionProcessor, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setFunctionProcessor, setIncrementerName, setPaddingLength
public boolean supportsLimit()
Dialect
supportsLimit
in interface Dialect
supportsLimit
in class AbstractDialect
public String getLimitString(String sql, int offset, int limit)
Dialect
sql
- 查询sqloffset
- 分页查询起始行数limit
- 分页查询每页条数public String getCurrentDate()
@Deprecated public String buildSqlFuction(String sql)
Dialect
public String buildSqlFunction(String sql)
Dialect
protected String getSequenceQuery()
AbstractSequenceDialect
The provided SQL is supposed to result in a single row with a single
column that allows for extracting a long
value.
getSequenceQuery
in class AbstractSequenceDialect
Copyright © 2006–2018 TinyGroup. All rights reserved.