|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.dialect.Dialect
org.hibernate.dialect.InterbaseDialect
org.hibernate.dialect.FirebirdDialect
public class FirebirdDialect
An SQL dialect for Firebird.
Field Summary |
---|
Fields inherited from class org.hibernate.dialect.Dialect |
---|
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, NO_BATCH, QUOTE |
Constructor Summary | |
---|---|
FirebirdDialect()
|
Method Summary | |
---|---|
boolean |
bindLimitParametersFirst()
Does the LIMIT clause come at the start of the SELECT statement, rather than at the end? |
boolean |
bindLimitParametersInReverseOrder()
ANSI SQL defines the LIMIT clause to be in the form LIMIT offset, limit. |
java.lang.String |
getDropSequenceString(java.lang.String sequenceName)
Typically dialects which support sequences can drop a sequence with a single command. |
java.lang.String |
getLimitString(java.lang.String sql,
boolean hasOffset)
Apply s limit clause to the query. |
Methods inherited from class org.hibernate.dialect.InterbaseDialect |
---|
getAddColumnString, getCreateSequenceString, getCurrentTimestampCallString, getForUpdateString, getForUpdateString, getQuerySequencesString, getSelectSequenceNextValString, getSequenceNextValString, isCurrentTimestampSelectStringCallable, supportsLimit, supportsSequences |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FirebirdDialect()
Method Detail |
---|
public java.lang.String getDropSequenceString(java.lang.String sequenceName)
Dialect
Dialect.getDropSequenceStrings(java.lang.String)
to help facilitate that.
Dialects which support sequences and can drop a sequence in a
single command need *only* override this method. Dialects
which support sequences but require multiple commands to drop
a sequence should instead override Dialect.getDropSequenceStrings(java.lang.String)
.
getDropSequenceString
in class InterbaseDialect
sequenceName
- The name of the sequence
public java.lang.String getLimitString(java.lang.String sql, boolean hasOffset)
Dialect
variable
limit caluses when they support limits. Thus, when building the
select command we do not actually need to know the limit or the offest
since we will just be using placeholders.
Here we do still pass along whether or not an offset was specified
so that dialects not supporting offsets can generate proper exceptions.
In general, dialects will override one or the other of this method and
Dialect.getLimitString(String, int, int)
.
getLimitString
in class InterbaseDialect
sql
- The query to which to apply the limit.hasOffset
- Is the query requesting an offset?
public boolean bindLimitParametersFirst()
Dialect
bindLimitParametersFirst
in class InterbaseDialect
public boolean bindLimitParametersInReverseOrder()
Dialect
bindLimitParametersInReverseOrder
in class InterbaseDialect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |