当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
UnsavedValueFactory (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.engine
Class UnsavedValueFactory
java.lang.Object
org.hibernate.engine.UnsavedValueFactory
- public class UnsavedValueFactory
- extends Object
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsavedValueFactory
public UnsavedValueFactory()
getUnsavedIdentifierValue
public static IdentifierValue getUnsavedIdentifierValue(String unsavedValue,
Getter identifierGetter,
Type identifierType,
Constructor constructor)
- Return an IdentifierValue for the specified unsaved-value. If none is specified,
guess the unsaved value by instantiating a test instance of the class and
reading it's id property, or if that is not possible, using the java default
value for the type
getUnsavedVersionValue
public static VersionValue getUnsavedVersionValue(String versionUnsavedValue,
Getter versionGetter,
VersionType versionType,
Constructor constructor)