Interface LazyPropertyInitializer
-
- All Known Implementing Classes:
AbstractEntityPersister
,JoinedSubclassEntityPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
public interface LazyPropertyInitializer
Contract for controlling how lazy properties get initialized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
LazyPropertyInitializer.InterceptorImplementor
Deprecated.Prefer the form of these methods defined onBytecodeLazyAttributeInterceptor
instead
-
Field Summary
Fields Modifier and Type Field Description static java.io.Serializable
UNFETCHED_PROPERTY
Marker value for uninitialized properties.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
initializeLazyProperty(java.lang.String fieldName, java.lang.Object entity, SharedSessionContractImplementor session)
Initialize the property, and return its new value.
-
-
-
Method Detail
-
initializeLazyProperty
java.lang.Object initializeLazyProperty(java.lang.String fieldName, java.lang.Object entity, SharedSessionContractImplementor session)
Initialize the property, and return its new value.- Parameters:
fieldName
- The name of the field being initializedentity
- The entity on which the initialization is occurringsession
- The session from which the initialization originated.- Returns:
- ?
-
-