Package | Description |
---|---|
org.hibernate.event.internal |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
org.hibernate.event.spi |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
DefaultLoadEventListener.loadFromSessionCache(LoadEvent event,
EntityKey keyToLoad,
LoadEventListener.LoadType options)
Attempts to locate the entity in the session-level cache.
|
void |
DefaultLoadEventListener.onLoad(LoadEvent event,
LoadEventListener.LoadType loadType)
Handle the given load event.
|
Modifier and Type | Field and Description |
---|---|
static LoadEventListener.LoadType |
LoadEventListener.GET |
static LoadEventListener.LoadType |
LoadEventListener.IMMEDIATE_LOAD |
static LoadEventListener.LoadType |
LoadEventListener.INTERNAL_LOAD_EAGER |
static LoadEventListener.LoadType |
LoadEventListener.INTERNAL_LOAD_LAZY |
static LoadEventListener.LoadType |
LoadEventListener.INTERNAL_LOAD_NULLABLE |
static LoadEventListener.LoadType |
LoadEventListener.LOAD |
static LoadEventListener.LoadType |
LoadEventListener.RELOAD |
Modifier and Type | Method and Description |
---|---|
void |
LoadEventListener.onLoad(LoadEvent event,
LoadEventListener.LoadType loadType)
Handle the given load event.
|
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.