public class JpaDialect extends AnsiDialect
Limit clause:
select name from author LIMIT 1
name, patternORDER_BY| Constructor and Description |
|---|
JpaDialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildQueryPaging(String sqlText,
int offset,
int max)
Build a paginate query accordingly data base dialect
|
String |
buildQueryPaging(String sqlText,
int offset,
int max,
String bookmark)
Build a paginate query accordingly data base dialect
|
addFeature, buildQueryCount, countOccurrencesOf, getAccessId, getAccessRevision, getMaxOfParameters, getSqlPatternCount, getSqlPatternPaging, name, setMaxOfParameters, sqlEndsWithOrderBy, sqlEndWithForUpdate, sqlStartWithSelect, sqlStartWithSelectOrDistinct, supportsFeature, supportsParmMarkpublic JpaDialect()
public String buildQueryPaging(String sqlText, int offset, int max)
SqlDialectbuildQueryPaging in interface SqlDialectbuildQueryPaging in class AnsiDialectsqlText - final SQL with parameters to bindoffset - number from first row from query resultmax - maximum number of rows from query result.public String buildQueryPaging(String sqlText, int offset, int max, String bookmark)
SqlDialectbuildQueryPaging in interface SqlDialectbuildQueryPaging in class AnsiDialectsqlText - final SQL with parameters to bindoffset - number from first row from query resultmax - maximum number of rows from query result.bookmark - a page selected marked the reader's placeCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.