net.sf.hibernate.dialect
Class InformixDialect

java.lang.Object
  extended bynet.sf.hibernate.dialect.Dialect
      extended bynet.sf.hibernate.dialect.InformixDialect

public class InformixDialect
extends Dialect

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.

Author:
Steve Molitor

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 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.
 boolean supportsIdentityColumns()
          Does this dialect support identity column key generation?
 
Methods inherited from class net.sf.hibernate.dialect.Dialect
bindLimitParametersFirst, bindLimitParametersInReverseOrder, closeQuote, createCaseFragment, createOuterJoinFragment, dropConstraints, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getCascadeConstraintsString, getCreateSequenceString, getDefaultProperties, getDialect, getDialect, getDropSequenceString, getFunctions, getIdentityInsertString, getLimitString, getLimitString, getLowercaseFunction, getNoColumnsInsertString, getNullColumnString, getQuerySequencesString, getSchemaSeperator, getSequenceNextValString, getTypeName, getTypeName, hasAlterTable, openQuote, qualifyIndexName, registerColumnType, registerColumnType, registerFunction, supportsForUpdate, supportsForUpdateNowait, supportsForUpdateOf, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsLimit, supportsLimitOffset, supportsSequences, supportsUnique, supportsVariableLimit, toString, useMaxForLimit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InformixDialect

public InformixDialect()
Creates new InformixDialect instance. Sets up the JDBC / Informix type mappings.

Method Detail

getAddColumnString

public String getAddColumnString()
Description copied from class: Dialect
The syntax used to add a column to a table (optional).

Overrides:
getAddColumnString in class Dialect
See Also:
Dialect.getAddColumnString()

supportsIdentityColumns

public boolean supportsIdentityColumns()
Description copied from class: Dialect
Does this dialect support identity column key generation?

Overrides:
supportsIdentityColumns in class Dialect
Returns:
boolean
See Also:
Dialect.supportsIdentityColumns()

getIdentitySelectString

public String getIdentitySelectString()
                               throws MappingException
Description copied from class: Dialect
The syntax that returns the identity value of the last insert, if identity column key generation is supported.

Overrides:
getIdentitySelectString in class Dialect
Throws:
MappingException - if no native key generation
See Also:
Dialect.getIdentitySelectString()

getIdentityColumnString

public String getIdentityColumnString()
                               throws MappingException
Description copied from class: Dialect
The keyword used to specify an identity column, if identity column key generation is supported.

Overrides:
getIdentityColumnString in class Dialect
Throws:
MappingException - if no native key generation
See Also:
Dialect.getIdentityColumnString()