org.hibernate.dialect.unique
Class InformixUniqueDelegate

java.lang.Object
  extended by org.hibernate.dialect.unique.DefaultUniqueDelegate
      extended by org.hibernate.dialect.unique.InformixUniqueDelegate
All Implemented Interfaces:
UniqueDelegate

public class InformixUniqueDelegate
extends DefaultUniqueDelegate

Informix requires the constraint name to come last on the alter table.


Field Summary
 
Fields inherited from class org.hibernate.dialect.unique.DefaultUniqueDelegate
dialect
 
Constructor Summary
InformixUniqueDelegate(Dialect dialect)
           
 
Method Summary
 String applyUniquesOnAlter(UniqueKey uniqueKey)
          If creating unique constraints in separate alter statements is supported, generate the necessary "alter" syntax for the given key.
 String applyUniquesOnAlter(UniqueKey uniqueKey, String defaultCatalog, String defaultSchema)
          If creating unique constraints in separate alter statements is supported, generate the necessary "alter" syntax for the given key.
 
Methods inherited from class org.hibernate.dialect.unique.DefaultUniqueDelegate
applyUniquesToTable, applyUniquesToTable, applyUniqueToColumn, applyUniqueToColumn, dropUniquesOnAlter, dropUniquesOnAlter, uniqueConstraintSql, uniqueConstraintSql
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InformixUniqueDelegate

public InformixUniqueDelegate(Dialect dialect)
Method Detail

applyUniquesOnAlter

public String applyUniquesOnAlter(UniqueKey uniqueKey,
                                  String defaultCatalog,
                                  String defaultSchema)
Description copied from interface: UniqueDelegate
If creating unique constraints in separate alter statements is supported, generate the necessary "alter" syntax for the given key.

Specified by:
applyUniquesOnAlter in interface UniqueDelegate
Overrides:
applyUniquesOnAlter in class DefaultUniqueDelegate
Returns:
String

applyUniquesOnAlter

public String applyUniquesOnAlter(UniqueKey uniqueKey)
Description copied from interface: UniqueDelegate
If creating unique constraints in separate alter statements is supported, generate the necessary "alter" syntax for the given key.

Specified by:
applyUniquesOnAlter in interface UniqueDelegate
Overrides:
applyUniquesOnAlter in class DefaultUniqueDelegate
Returns:
String


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.