当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
IdentifierGeneratorFactory (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.id
Class IdentifierGeneratorFactory
java.lang.Object
org.hibernate.id.IdentifierGeneratorFactory
- public final class IdentifierGeneratorFactory
- extends Object
Factory and helper methods for IdentifierGenerator framework.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHORT_CIRCUIT_INDICATOR
public static final Serializable SHORT_CIRCUIT_INDICATOR
POST_INSERT_INDICATOR
public static final Serializable POST_INSERT_INDICATOR
getGeneratedIdentity
public static Serializable getGeneratedIdentity(ResultSet rs,
Type type)
throws SQLException,
HibernateException,
IdentifierGenerationException
- Get the generated identifier when using identity columns
- Throws:
SQLException
HibernateException
IdentifierGenerationException
get
public static Serializable get(ResultSet rs,
Type type)
throws SQLException,
IdentifierGenerationException
- Throws:
SQLException
IdentifierGenerationException
create
public static IdentifierGenerator create(String strategy,
Type type,
Properties params,
Dialect dialect)
throws MappingException
- Throws:
MappingException
getIdentifierGeneratorClass
public static Class getIdentifierGeneratorClass(String strategy,
Dialect dialect)
createNumber
public static Number createNumber(long value,
Class clazz)
throws IdentifierGenerationException
- Throws:
IdentifierGenerationException