|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsf.qof.dialect.HSQLDbDialect
public class HSQLDbDialect
Implements HSQLDB specific SQL syntax.
Constructor Summary | |
---|---|
HSQLDbDialect()
|
Method Summary | |
---|---|
String |
getLimitString(String sql,
boolean hasOffset)
Returns a modified SQL select statement that allows limiting the number of rows returned. |
boolean |
limitAddOffset()
Returns true if the offset needs to be added to maximum number of rows. |
boolean |
limitOffsetFirst()
Returns true if the offset parameter is in front of the maximum number of rows parameter. |
boolean |
limitParametersBeforeQueryParameters()
Returns true is the parameters to set the maximum number of rows and optionally the offset are the first parameters in the prepared select statement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSQLDbDialect()
Method Detail |
---|
public String getLimitString(String sql, boolean hasOffset)
SQLDialect
If hasOffset
is true the SQL select statement
that is returned must allow to set an offset as well as the
number of rows.
getLimitString
in interface SQLDialect
sql
- the select SQL statementhasOffset
- true is an offset should be set
Paging
,
SQLDialect.limitParametersBeforeQueryParameters()
,
SQLDialect.limitAddOffset()
,
SQLDialect.limitOffsetFirst()
public boolean limitParametersBeforeQueryParameters()
SQLDialect
limitParametersBeforeQueryParameters
in interface SQLDialect
public boolean limitAddOffset()
SQLDialect
limitAddOffset
in interface SQLDialect
public boolean limitOffsetFirst()
SQLDialect
limitOffsetFirst
in interface SQLDialect
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |