站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

LazyPropertyInitializer (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.intercept
Interface LazyPropertyInitializer

All Known Implementing Classes:
AbstractEntityPersister

public interface LazyPropertyInitializer

Contract for controlling how lazy properties get initialized.

Author:
Gavin King

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

Field Detail

UNFETCHED_PROPERTY

public static final Serializable UNFETCHED_PROPERTY
Marker value for uninitialized properties

Method Detail

initializeLazyProperty

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

Throws:
HibernateException