Interface LazyPropertyInitializer
-
- All Known Implementing Classes:
AbstractEntityPersister,JoinedSubclassEntityPersister,SingleTableEntityPersister,UnionSubclassEntityPersister
public interface LazyPropertyInitializerContract for controlling how lazy properties get initialized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLazyPropertyInitializer.InterceptorImplementorDeprecated.Prefer the form of these methods defined onBytecodeLazyAttributeInterceptorinstead
-
Field Summary
Fields Modifier and Type Field Description static java.io.SerializableUNFETCHED_PROPERTYMarker value for uninitialized properties.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectinitializeLazyProperty(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:
- ?
-
-