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

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

Introduction

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

Usage

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.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

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.jspresso.framework.application.backend.persistence.hibernate.LifecyclePostLoadEventListener.java

/**
 * This hibernate event listener is used to trigger the onLoad lifecycle method.
 *
 * @author Vincent Vandenschrick
 */
public class LifecyclePostLoadEventListener implements PostLoadEventListener {

From source file org.openmrs.ObsPostLoadEventListener.java

/**
 * Hibernate by default calls setters when initializing a persistent entity from the database
 * meaning an Obs would be marked dirty the first time it's loaded by hibernate, therefore we need
 * to use an instance of this PostLoadEventListener to mark an Obs as not dirty when it gets loaded.
 * 
 * <pre>