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

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


net.sf.hibernate.id
Class IdentifierGeneratorFactory

java.lang.Object
  extended bynet.sf.hibernate.id.IdentifierGeneratorFactory

public final class IdentifierGeneratorFactory
extends Object

Factory and helper methods for IdentifierGenerator framework.

Author:
Gavin King

Field Summary
static String IDENTITY_COLUMN_INDICATOR
           
static String SHORT_CIRCUIT_INDICATOR
           
 
Method Summary
static IdentifierGenerator create(String strategy, Type type, Properties params, Dialect dialect)
           
static Serializable get(ResultSet rs, Type type, SessionImplementor session, Object owner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHORT_CIRCUIT_INDICATOR

public static final String SHORT_CIRCUIT_INDICATOR

IDENTITY_COLUMN_INDICATOR

public static final String IDENTITY_COLUMN_INDICATOR
Method Detail

get

public static Serializable get(ResultSet rs,
                               Type type,
                               SessionImplementor session,
                               Object owner)
                        throws SQLException,
                               IdentifierGenerationException
Throws:
SQLException
IdentifierGenerationException

create

public static IdentifierGenerator create(String strategy,
                                         Type type,
                                         Properties params,
                                         Dialect dialect)
                                  throws MappingException
Throws:
MappingException