接口 LazyPropertyInitializer
-
- 所有已知实现类:
AbstractEntityPersister,JoinedSubclassEntityPersister,SingleTableEntityPersister,UnionSubclassEntityPersister
public interface LazyPropertyInitializerContract for controlling how lazy properties get initialized.- 作者:
- Gavin King
-
-
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static interfaceLazyPropertyInitializer.InterceptorImplementor已过时。Prefer the form of these methods defined onBytecodeLazyAttributeInterceptorinstead
-
字段概要
字段 修饰符和类型 字段 说明 static SerializableUNFETCHED_PROPERTYMarker value for uninitialized properties.
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ObjectinitializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)Initialize the property, and return its new value.
-
-
-
字段详细资料
-
UNFETCHED_PROPERTY
static final Serializable UNFETCHED_PROPERTY
Marker value for uninitialized properties.
-
-
方法详细资料
-
initializeLazyProperty
Object initializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)
Initialize the property, and return its new value.- 参数:
fieldName- The name of the field being initializedentity- The entity on which the initialization is occurringsession- The session from which the initialization originated.- 返回:
- ?
-
-