当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
LoadEventListener (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.event
Interface LoadEventListener
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- DefaultLoadEventListener
- public interface LoadEventListener
- extends Serializable
Defines the contract for handling of load events generated from a session.
- Author:
- Steve Ebersole
RELOAD
public static final LoadEventListener.LoadType RELOAD
GET
public static final LoadEventListener.LoadType GET
LOAD
public static final LoadEventListener.LoadType LOAD
IMMEDIATE_LOAD
public static final LoadEventListener.LoadType IMMEDIATE_LOAD
INTERNAL_LOAD_EAGER
public static final LoadEventListener.LoadType INTERNAL_LOAD_EAGER
INTERNAL_LOAD_LAZY
public static final LoadEventListener.LoadType INTERNAL_LOAD_LAZY
INTERNAL_LOAD_NULLABLE
public static final LoadEventListener.LoadType INTERNAL_LOAD_NULLABLE
onLoad
public void onLoad(LoadEvent event,
LoadEventListener.LoadType loadType)
throws HibernateException
- Handle the given load event.
- Parameters:
event
- The load event to be handled.
- Returns:
- The result (i.e., the loaded entity).
- Throws:
HibernateException