当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
PrimaryKey (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.mapping
Class PrimaryKey
java.lang.Object
org.hibernate.mapping.Constraint
org.hibernate.mapping.PrimaryKey
- All Implemented Interfaces:
- RelationalModel, Serializable
- public class PrimaryKey
- extends Constraint
A primary key constraint
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.mapping.Constraint |
addColumn, addColumns, columnIterator, containsColumn, getColumn, getColumnIterator, getColumns, getColumnSpan, getName, getTable, isGenerated, setName, setTable, sqlCreateString, sqlDropString, toString |
PrimaryKey
public PrimaryKey()
sqlConstraintString
public String sqlConstraintString(Dialect dialect)
sqlConstraintString
public String sqlConstraintString(Dialect dialect,
String constraintName,
String defaultCatalog,
String defaultSchema)
- Specified by:
sqlConstraintString
in class Constraint