站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

PrimaryKey (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.mapping
Class PrimaryKey

java.lang.Object
  extended bynet.sf.hibernate.mapping.Constraint
      extended bynet.sf.hibernate.mapping.PrimaryKey
All Implemented Interfaces:
RelationalModel

public class PrimaryKey
extends Constraint

A primary key constraint

Author:
Gavin King

Constructor Summary
PrimaryKey()
           
 
Method Summary
 String sqlConstraintString(Dialect dialect, String defaultSchema)
           
 String sqlConstraintString(Dialect dialect, String constraintName, String defaultSchema)
           
 
Methods inherited from class net.sf.hibernate.mapping.Constraint
addColumn, addColumns, getColumnIterator, getColumnSpan, getName, getTable, setName, setTable, sqlCreateString, sqlDropString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryKey

public PrimaryKey()
Method Detail

sqlConstraintString

public String sqlConstraintString(Dialect dialect,
                                  String defaultSchema)

sqlConstraintString

public String sqlConstraintString(Dialect dialect,
                                  String constraintName,
                                  String defaultSchema)
Specified by:
sqlConstraintString in class Constraint