当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
UniqueKey (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.mapping
Class UniqueKey
java.lang.Object
net.sf.hibernate.mapping.Constraint
net.sf.hibernate.mapping.UniqueKey
- All Implemented Interfaces:
- RelationalModel
- public class UniqueKey
- extends Constraint
A relational unique key constraint
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueKey
public UniqueKey()
sqlConstraintString
public String sqlConstraintString(Dialect dialect)
sqlConstraintString
public String sqlConstraintString(Dialect dialect,
String constraintName,
String defaultSchema)
- Specified by:
sqlConstraintString
in class Constraint
sqlCreateString
public String sqlCreateString(Dialect dialect,
Mapping p,
String defaultSchema)
- Specified by:
sqlCreateString
in interface RelationalModel
- Overrides:
sqlCreateString
in class Constraint
sqlDropString
public String sqlDropString(Dialect dialect,
String defaultSchema)
- Specified by:
sqlDropString
in interface RelationalModel
- Overrides:
sqlDropString
in class Constraint