public class OracleDialect extends net.sf.jkniv.sqlegance.dialect.AnsiDialect
Limit clause:
select name from author LIMIT 1 OFFSET 2
select * from ( select row_.*, rownum rownum_ from
(select name from author )
row_ where rownum <= 5) where rownum_ > 15
| Constructor and Description |
|---|
OracleDialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildQueryPaging(String sqlText,
int offset,
int max) |
int |
getMaxOfParameters() |
String |
getSqlPatternPaging() |
addFeature, buildQueryCount, buildQueryPaging, countOccurrencesOf, getAccessId, getAccessRevision, getSqlPatternCount, name, setMaxOfParameters, sqlEndsWithOrderBy, sqlEndWithForUpdate, sqlStartWithSelect, sqlStartWithSelectOrDistinct, supportsFeature, supportsParmMarkpublic OracleDialect()
public int getMaxOfParameters()
getMaxOfParameters in interface net.sf.jkniv.sqlegance.dialect.SqlDialectgetMaxOfParameters in class net.sf.jkniv.sqlegance.dialect.AnsiDialectpublic String getSqlPatternPaging()
getSqlPatternPaging in interface net.sf.jkniv.sqlegance.dialect.SqlDialectgetSqlPatternPaging in class net.sf.jkniv.sqlegance.dialect.AnsiDialect
select * from ( select row_.*, rownum rownum_ from
(%1$s)
row_ where rownum <= %2$s) where rownum_ > %3$s
public String buildQueryPaging(String sqlText, int offset, int max)
buildQueryPaging in interface net.sf.jkniv.sqlegance.dialect.SqlDialectbuildQueryPaging in class net.sf.jkniv.sqlegance.dialect.AnsiDialectCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.