|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.dialect.Dialect org.hibernate.dialect.MimerSQLDialect
An Hibernate 3 SQL dialect for Mimer SQL. This dialect requires Mimer SQL 9.2.1 or later because of the mappings to NCLOB, BINARY, and BINARY VARYING.
Field Summary |
Fields inherited from class org.hibernate.dialect.Dialect |
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, NO_BATCH, QUOTE |
Constructor Summary | |
MimerSQLDialect()
Even thoug Mimer SQL supports character and binary columns up to 15 000 in lenght, this is also the maximum width of the table (exluding LOBs). |
Method Summary | |
boolean |
dropConstraints()
We do not have to drop constraints before we drop the table |
boolean |
forUpdateOfColumns()
Does the FOR UPDATE OF syntax specify particular columns? |
String |
getAddColumnString()
The syntax used to add a column to a table |
String |
getCascadeConstraintsString()
The syntax for using cascade on constraints |
String |
getCreateSequenceString(String sequenceName)
The syntax used to create a sequence. |
String |
getDropSequenceString(String sequenceName)
The syntax used to drop sequences |
String |
getQuerySequencesString()
The syntax for fetching all sequnces avialable in the current schema. |
String |
getSequenceNextValString(String sequenceName)
The syntax used to get the next value of a sequence in Mimer SQL |
boolean |
supportsForUpdate()
Support the FOR UPDATE syntax? For now, returns false since the current version of the Mimer SQL JDBC Driver does not support updatable resultsets. |
boolean |
supportsIdentityColumns()
TODO: Check if Mimer SQL cannot handle the way DB2 does |
boolean |
supportsLimit()
Mimer SQL does not support limit |
boolean |
supportsOuterJoinForUpdate()
For now, simply return false since we don't updatable result sets. |
boolean |
supportsSequences()
Mimer SQL supports sequences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MimerSQLDialect()
Method Detail |
public String getAddColumnString()
getAddColumnString
in class Dialect
public boolean dropConstraints()
dropConstraints
in class Dialect
public boolean supportsIdentityColumns()
supportsIdentityColumns
in class Dialect
public boolean supportsSequences()
supportsSequences
in class Dialect
public String getSequenceNextValString(String sequenceName)
getSequenceNextValString
in class Dialect
sequenceName
- the name of the sequence
public String getCreateSequenceString(String sequenceName)
getCreateSequenceString
in class Dialect
sequenceName
- The name of the sequence
public String getDropSequenceString(String sequenceName)
getDropSequenceString
in class Dialect
sequenceName
- The name of the sequence
public boolean supportsLimit()
supportsLimit
in class Dialect
public String getCascadeConstraintsString()
getCascadeConstraintsString
in class Dialect
public String getQuerySequencesString()
getQuerySequencesString
in class Dialect
SchemaUpdate
public boolean forUpdateOfColumns()
forUpdateOfColumns
in class Dialect
public boolean supportsForUpdate()
public boolean supportsOuterJoinForUpdate()
supportsOuterJoinForUpdate
in class Dialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |