|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.dialect.Dialect net.sf.hibernate.dialect.InformixDialect
Informix dialect. This class is required in order to use Hibernate with
Informix.
Seems to work with Informix Dynamic Server Version 7.31.UD3,
Informix JDBC driver version 2.21JC3.
Field Summary |
Fields inherited from class net.sf.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
Constructor Summary | |
InformixDialect()
Creates new InformixDialect instance. |
Method Summary | |
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey,
String referencedTable,
String[] primaryKey)
The syntax used to add a foreign key constraint to a table. |
String |
getAddPrimaryKeyConstraintString(String constraintName)
The syntax used to add a primary key constraint to a table. |
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 |
getIdentityColumnString()
The keyword used to specify an identity column, if identity column key generation is supported. |
String |
getIdentitySelectString()
The syntax that returns the identity value of the last insert, if identity column key generation is supported. |
String |
getLimitString(String querySelect,
boolean hasOffset,
int limit)
|
String |
getSequenceNextValString(String sequenceName)
The syntax that fetches the next value of a sequence, if sequences are supported. |
boolean |
hasDataTypeInIdentityColumn()
Whether this dialect have an Identity clause added to the data type or a completely seperate identity data type |
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation? |
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
boolean |
supportsLimitOffset()
Does this dialect support an offset? |
boolean |
supportsSequences()
Does this dialect support sequences? |
boolean |
supportsVariableLimit()
|
boolean |
useMaxForLimit()
Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InformixDialect()
InformixDialect
instance. Sets up the JDBC /
Informix type mappings.
Method Detail |
public String getAddColumnString()
Dialect
getAddColumnString
in class Dialect
public boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns
in class Dialect
public String getIdentitySelectString() throws MappingException
Dialect
getIdentitySelectString
in class Dialect
MappingException
- if no native key generationpublic String getIdentityColumnString() throws MappingException
Dialect
getIdentityColumnString
in class Dialect
MappingException
- if no native key generationpublic boolean hasDataTypeInIdentityColumn()
Dialect
hasDataTypeInIdentityColumn
in class Dialect
public String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey)
getAddForeignKeyConstraintString
in class Dialect
public String getAddPrimaryKeyConstraintString(String constraintName)
getAddPrimaryKeyConstraintString
in class Dialect
public String getCreateSequenceString(String sequenceName)
Dialect
getCreateSequenceString
in class Dialect
sequenceName
- the name of the sequence
public String getDropSequenceString(String sequenceName)
Dialect
getDropSequenceString
in class Dialect
sequenceName
- the name of the sequence
public String getSequenceNextValString(String sequenceName)
Dialect
getSequenceNextValString
in class Dialect
sequenceName
- the name of the sequence
public boolean supportsSequences()
Dialect
supportsSequences
in class Dialect
public boolean supportsLimit()
Dialect
supportsLimit
in class Dialect
public boolean useMaxForLimit()
Dialect
useMaxForLimit
in class Dialect
public boolean supportsLimitOffset()
Dialect
supportsLimitOffset
in class Dialect
public String getLimitString(String querySelect, boolean hasOffset, int limit)
getLimitString
in class Dialect
public boolean supportsVariableLimit()
supportsVariableLimit
in class Dialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |