Package org.hibernate.intercept
Interface LazyPropertyInitializer
- All Known Implementing Classes:
AbstractEntityPersister,JoinedSubclassEntityPersister,SingleTableEntityPersister,UnionSubclassEntityPersister
public interface LazyPropertyInitializer
Contract for controlling how lazy properties get initialized.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SerializableMarker value for uninitialized properties -
Method Summary
Modifier and TypeMethodDescriptioninitializeLazyProperty(String fieldName, Object entity, SessionImplementor session) Initialize the property, and return its new value
-
Field Details
-
UNFETCHED_PROPERTY
Marker value for uninitialized properties
-
-
Method Details
-
initializeLazyProperty
Object initializeLazyProperty(String fieldName, Object entity, SessionImplementor session) throws HibernateException Initialize the property, and return its new value- Throws:
HibernateException
-