org.hibernate.intercept
Interface LazyPropertyInitializer

All Known Implementing Classes:
AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister

public interface LazyPropertyInitializer

Contract for controlling how lazy properties get initialized.

Author:
Gavin King

Field Summary
static java.io.Serializable UNFETCHED_PROPERTY
          Marker value for uninitialized properties
 
Method Summary
 java.lang.Object initializeLazyProperty(java.lang.String fieldName, java.lang.Object entity, SessionImplementor session)
          Initialize the property, and return its new value
 

Field Detail

UNFETCHED_PROPERTY

static final java.io.Serializable UNFETCHED_PROPERTY
Marker value for uninitialized properties

Method Detail

initializeLazyProperty

java.lang.Object initializeLazyProperty(java.lang.String fieldName,
                                        java.lang.Object entity,
                                        SessionImplementor session)
                                        throws HibernateException
Initialize the property, and return its new value

Throws:
HibernateException


Copyright © 2008 Hibernate.org. All Rights Reserved.