Package | Description |
---|---|
org.hibernate.event.spi | |
org.hibernate.loader.entity |
This package defines entity loaders
|
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.
|
Modifier and Type | Method and Description |
---|---|
CacheEntityLoaderHelper.PersistenceContextEntry |
CacheEntityLoaderHelper.loadFromSessionCache(LoadEvent event,
EntityKey keyToLoad,
LoadEventListener.LoadType options)
Attempts to locate the entity in the session-level cache.
|
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.