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, supportsParmMark
public OracleDialect()
public int getMaxOfParameters()
getMaxOfParameters
in interface net.sf.jkniv.sqlegance.dialect.SqlDialect
getMaxOfParameters
in class net.sf.jkniv.sqlegance.dialect.AnsiDialect
public String getSqlPatternPaging()
getSqlPatternPaging
in interface net.sf.jkniv.sqlegance.dialect.SqlDialect
getSqlPatternPaging
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.SqlDialect
buildQueryPaging
in class net.sf.jkniv.sqlegance.dialect.AnsiDialect
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.