|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.hibernate.dialect.Dialect
net.sf.hibernate.dialect.PostgreSQLDialect
An SQL dialect for Postgres
| Field Summary |
| Fields inherited from class net.sf.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
| Constructor Summary | |
PostgreSQLDialect()
|
|
| Method Summary | |
boolean |
bindLimitParametersInReverseOrder()
Does the LIMIT clause specify arguments in the "reverse" order limit, offset instead of offset, limit? |
boolean |
dropConstraints()
Do we need to drop constraints before dropping tables in this dialect? |
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getCascadeConstraintsString()
Completely optional cascading drop clause |
String |
getCreateSequenceString(String sequenceName)
The syntax used to create a sequence, if sequences are supported. |
String |
getDropSequenceString(String sequenceName)
The syntax used to drop a sequence, if sequences are supported. |
String |
getLimitString(String sql,
boolean hasOffset)
Add a LIMIT clause to the given SQL SELECT |
String |
getSequenceNextValString(String sequenceName)
The syntax that fetches the next value of a sequence, if sequences are supported. |
boolean |
supportsForUpdateOf()
Does this dialect support FOR UPDATE OF, allowing particular rows to be locked? |
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
boolean |
supportsSequences()
Does this dialect support sequences? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PostgreSQLDialect()
| Method Detail |
public String getAddColumnString()
Dialect
getAddColumnString in class Dialectpublic boolean dropConstraints()
Dialect
dropConstraints in class Dialectpublic String getSequenceNextValString(String sequenceName)
Dialect
getSequenceNextValString in class DialectsequenceName - the name of the sequence
public String getCreateSequenceString(String sequenceName)
Dialect
getCreateSequenceString in class DialectsequenceName - the name of the sequence
public String getDropSequenceString(String sequenceName)
Dialect
getDropSequenceString in class DialectsequenceName - the name of the sequence
public String getCascadeConstraintsString()
Dialect
getCascadeConstraintsString in class Dialectpublic boolean supportsSequences()
Dialect
supportsSequences in class Dialectpublic boolean supportsLimit()
Dialect
supportsLimit in class Dialectpublic String getLimitString(String sql, boolean hasOffset)
Dialect
getLimitString in class Dialectpublic boolean bindLimitParametersInReverseOrder()
Dialect
bindLimitParametersInReverseOrder in class Dialectpublic boolean supportsForUpdateOf()
Dialect
supportsForUpdateOf in class Dialect
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||