Example usage for org.hibernate.event.spi PostUpdateEventListener interface-usage

List of usage examples for org.hibernate.event.spi PostUpdateEventListener interface-usage

Introduction

In this page you can find the example usage for org.hibernate.event.spi PostUpdateEventListener interface-usage.

Usage

From source file at.molindo.esi4j.module.hibernate.HibernateEventListener.java

public class HibernateEventListener
        implements PostDeleteEventListener, PostInsertEventListener, PostUpdateEventListener {

    private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(HibernateEventListener.class);

    private static final long serialVersionUID = 1L;

From source file com.corundumstudio.hibernate.dsc.QueryCacheEntityListener.java

public class QueryCacheEntityListener
        implements PostInsertEventListener, PostDeleteEventListener, PostUpdateEventListener {

    private static final long serialVersionUID = 5902147771442167289L;

    private final ConcurrentMap<Class<?>, ConcurrentMap<String, QueryListenerEntry>> map = new ConcurrentHashMap<Class<?>, ConcurrentMap<String, QueryListenerEntry>>();

From source file com.googlecode.hibernate.audit.listener.AuditListener.java

public class AuditListener implements PostInsertEventListener, PostUpdateEventListener, PostDeleteEventListener,
        PreCollectionUpdateEventListener, PreCollectionRemoveEventListener, PostCollectionRecreateEventListener {

    private static final Logger log = LoggerFactory.getLogger(AuditListener.class);
    private AuditConfiguration auditConfiguration;
    private boolean recordEmptyCollectionsOnInsert = true;

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 debop4k.data.orm.hibernate.listener.PersistentObjectListener.java

/**
 * {@link PersistentObject}?  ,  ? ?  ? ? .
 * <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 org.audit4j.integration.hibernate.listener.AuditPostUpdateEventListenerImpl.java

/**
 * The Class AuditPostUpdateEventListenerImpl.
 * 
 * @author <a href="mailto:janith3000@gmail.com">Janith Bandara</a>
 */
public class AuditPostUpdateEventListenerImpl extends BaseAuditEventListener implements PostUpdateEventListener {

From source file org.cgiar.ccafs.marlo.data.HibernateAuditLogListener.java

/**
 * Most of the code here was previously in a Hibernate Interceptor but has been refactored to use Hibernate
 * Event Listener framework. The Listeners need to be registered in the Hibernate
 * Configuration for the callback methods to work.
 * 
 * @author Christian Garcia, Grant Lay

From source file org.flowerplatform.web.security.sandbox.SecurityEntityListener.java

/**
 * Responsibility of this class is to listen for modifications 
 * of entities like permissions, users, groups and organizations
 * and to clear the caches of {@link FlowerWebPolicy} accordingly. 
 * 
 * @author Cristi

From source file org.grails.orm.hibernate.support.ClosureEventListener.java

/**
 * <p>Invokes closure events on domain entities such as beforeInsert, beforeUpdate and beforeDelete.
 *
 * <p>Also deals with auto time stamping of domain classes that have properties named 'lastUpdated' and/or 'dateCreated'.
 *
 * @author Lari Hotari