public class OracleDialect extends AnsiSqlDialect
wrapper
Constructor and Description |
---|
OracleDialect() |
Modifier and Type | Method and Description |
---|---|
String |
dialectName()
方言名
|
static boolean |
isNextVal(Object value)
检查字段值是否为Oracle自增字段,自增字段以`.nextval`结尾
|
protected SqlBuilder |
wrapPageSql(SqlBuilder find,
Page page)
根据不同数据库在查询SQL语句基础上包装其分页的语句
各自数据库通过重写此方法实现最小改动情况下修改分页语句 |
getWrapper, psForDelete, psForFind, psForInsert, psForInsertBatch, psForPage, psForPage, psForUpdate, setWrapper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
psForCount, psForCount, psForUpsert
public static boolean isNextVal(Object value)
value
- 检查的字段值protected SqlBuilder wrapPageSql(SqlBuilder find, Page page)
AnsiSqlDialect
wrapPageSql
in class AnsiSqlDialect
find
- 标准查询语句page
- 分页对象public String dialectName()
Dialect
dialectName
in interface Dialect
dialectName
in class AnsiSqlDialect
Copyright © 2024. All rights reserved.