Top Description Fields Methods
org.hibernate.intercept

public Interface LazyPropertyInitializer

Known Direct Implementers
org.hibernate.persister.entity.AbstractEntityPersister
Imports
java.io.Serializable, org.hibernate.HibernateException, org.hibernate.engine.SessionImplementor

Contract for controlling how lazy properties get initialized.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
public static final Serializable
UNFETCHED_PROPERTY

Marker value for uninitialized properties

Method Summary

Modifier and TypeMethod and Description
public Object
initializeLazyProperty(String fieldName, Object entity, SessionImplementor session)

Initialize the property, and return its new value

Field Detail

UNFETCHED_PROPERTYback to summary
public static final Serializable UNFETCHED_PROPERTY

Marker value for uninitialized properties

Method Detail

initializeLazyPropertyback to summary
public Object initializeLazyProperty(String fieldName, Object entity, SessionImplementor session) throws HibernateException

Initialize the property, and return its new value