|
||||||||||
| 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.MimerSQLDialect
public class 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 Dialectpublic boolean dropConstraints()
dropConstraints in class Dialectpublic boolean supportsIdentityColumns()
supportsIdentityColumns in class Dialectpublic boolean supportsSequences()
supportsSequences in class Dialectpublic String getSequenceNextValString(String sequenceName)
getSequenceNextValString in class DialectsequenceName - the name of the sequence
public String getCreateSequenceString(String sequenceName)
getCreateSequenceString in class DialectsequenceName - The name of the sequence
public String getDropSequenceString(String sequenceName)
getDropSequenceString in class DialectsequenceName - The name of the sequence
public boolean supportsLimit()
supportsLimit in class Dialectpublic String getCascadeConstraintsString()
getCascadeConstraintsString in class Dialectpublic String getQuerySequencesString()
getQuerySequencesString in class DialectSchemaUpdatepublic boolean forUpdateOfColumns()
forUpdateOfColumns in class Dialectpublic 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 | |||||||||