List of usage examples for org.hibernate.event.spi EventType PRE_LOAD
EventType PRE_LOAD
To view the source code for org.hibernate.event.spi EventType PRE_LOAD.
Click Source Link
From source file:es.logongas.ix3.dao.impl.rules.IntegratorImplRuleEngine.java
License:Apache License
private void prependListeners(EventListenerRegistry eventListenerRegistry) { eventListenerRegistry.prependListeners(EventType.PRE_INSERT, new EventListenerImplRuleEngine()); eventListenerRegistry.prependListeners(EventType.PRE_LOAD, new EventListenerImplRuleEngine()); eventListenerRegistry.prependListeners(EventType.PRE_UPDATE, new EventListenerImplRuleEngine()); eventListenerRegistry.prependListeners(EventType.PRE_DELETE, new EventListenerImplRuleEngine()); eventListenerRegistry.prependListeners(EventType.POST_INSERT, new EventListenerImplRuleEngine()); eventListenerRegistry.prependListeners(EventType.POST_LOAD, new EventListenerImplRuleEngine()); eventListenerRegistry.prependListeners(EventType.POST_UPDATE, new EventListenerImplRuleEngine()); eventListenerRegistry.prependListeners(EventType.POST_DELETE, new EventListenerImplRuleEngine()); }