org.hibernate.dialect.unique
Class InformixUniqueDelegate
java.lang.Object
org.hibernate.dialect.unique.DefaultUniqueDelegate
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InformixUniqueDelegate
public InformixUniqueDelegate(Dialect dialect)
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.