Search in sources :

Example 1 with LoadEventListener

use of org.hibernate.event.spi.LoadEventListener in project hibernate-orm by hibernate.

the class SessionImpl method fireLoad.

private void fireLoad(LoadEvent event, LoadType loadType) {
    checkOpenOrWaitingForAutoClose();
    checkTransactionSynchStatus();
    for (LoadEventListener listener : listeners(EventType.LOAD)) {
        listener.onLoad(event, loadType);
    }
    delayedAfterCompletion();
}
Also used : LoadEventListener(org.hibernate.event.spi.LoadEventListener)

Aggregations

LoadEventListener (org.hibernate.event.spi.LoadEventListener)1