org.hibernate.intercept
Interface LazyPropertyInitializer
- AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
public interface LazyPropertyInitializer
Contract for controlling how lazy properties get initialized.
UNFETCHED_PROPERTY
public static final Serializable UNFETCHED_PROPERTY
Marker value for uninitialized properties
initializeLazyProperty
public Object initializeLazyProperty(String fieldName,
Object entity,
SessionImplementor session)
throws HibernateException
Initialize the property, and return its new value