Interface LoadEventListener
public interface LoadEventListener
Defines the contract for handling of load events generated from a session.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoadEventListener.LoadTypestatic final LoadEventListener.LoadTypestatic final LoadEventListener.LoadTypestatic final LoadEventListener.LoadTypestatic final LoadEventListener.LoadTypestatic final LoadEventListener.LoadTypestatic final LoadEventListener.LoadType -
Method Summary
Modifier and TypeMethodDescriptionvoidonLoad(LoadEvent event, LoadEventListener.LoadType loadType) Handle the given load event.
-
Field Details
-
RELOAD
-
GET
-
LOAD
-
IMMEDIATE_LOAD
-
INTERNAL_LOAD_EAGER
-
INTERNAL_LOAD_LAZY
-
INTERNAL_LOAD_NULLABLE
-
-
Method Details
-
onLoad
Handle the given load event.- Parameters:
event- The load event to be handled.- Throws:
HibernateException
-