List of usage examples for org.hibernate.event.spi PreInsertEventListener interface-usage
From source file com.github.javarch.persistence.orm.hibernate.listener.PreInsertEventListener.java
public class PreInsertEventListener implements org.hibernate.event.spi.PreInsertEventListener { private static final long serialVersionUID = 2939264537058810391L; @Override public boolean onPreInsert(PreInsertEvent event) {
From source file com.invariantproperties.sandbox.springentitylistener.listener.HibernateEntityListenersAdapter.java
/**
* Adapter that allows a Hibernate event listener to call a standard JPA
* EntityListener.
*
* For simplicity only a single bean of each class is supported. It is not
* difficult to support multiple beans, just messy.
From source file com.mpe.common.validation.BeanValidationEventListener.java
/**
* Event listener used to enable Bean Validation for insert/update/delete events.
*
* @author Emmanuel Bernard
* @author Hardy Ferentschik
*/
From source file debop4k.data.orm.hibernate.listener.UpdatedTimestampListener.java
/**
* {@link UpdatedTimestampEntity} ? UpdatedTimestamp ? Listener .
* <p>
* Listener {@link org.hibernate.Interceptor} Listener ? Listener .
*
* @author sunghyouk.bae@gmail.com
From source file es.logongas.ix3.dao.impl.rules.EventListenerImplRuleEngine.java
/** * Lanza el sistema de reglas en las entidades de Hibernate * * @author logongas */ public class EventListenerImplRuleEngine
From source file kr.debop4j.data.hibernate.listener.UpdateTimestampedEventListener.java
/**
* {@link IUpdateTimestampedEntity} ? updateTimestamp ? ? Event Listener .
*
* @author ? ( sunghyouk.bae@gmail.com )
* @since 12. 11. 22.
*/
From source file org.cgiar.ccafs.marlo.data.AuditColumnHibernateListener.java
/**
* A Hibernate listener to standardize how we are populating the Audit Columns for MARLO tables.
* This circumvents the need for developers to populate the fields themselves.
*
* @author GrantL
*/
From source file org.grails.orm.hibernate.support.ClosureEventTriggeringInterceptor.java
/**
* Listens for Hibernate events and publishes corresponding Datastore events.
*
* @author Graeme Rocher
* @author Lari Hotari
* @author Burt Beckwith
From source file org.meruvian.yama.service.jpa.hibernate.LogInformationListener.java
/** * @author Dian Aditya * */ @Component public class LogInformationListener implements PreInsertEventListener, PreUpdateEventListener {
From source file org.specrunner.hibernate4.HibernateListener.java
/**
* A Hibernate listener to monitor object insertions.
*
* @author Thiago Santos
*
*/