Examples of PostLoadEvent


Examples of org.hibernate.event.spi.PostLoadEvent

    // upgrade the lock if necessary:
    //lock(result, lockMode);

    //PostLoad is needed for EJB3
    //TODO: reuse the PostLoadEvent...
    PostLoadEvent postLoadEvent = new PostLoadEvent( session )
        .setEntity( result )
        .setId( id )
        .setPersister( persister );

    for ( PostLoadEventListener listener : postLoadEventListeners( session ) ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.