Package org.hibernate.event.spi

Examples of org.hibernate.event.spi.PreCollectionRecreateEvent


  private void preRecreate() {
    final EventListenerGroup<PreCollectionRecreateEventListener> listenerGroup = listenerGroup( EventType.PRE_COLLECTION_RECREATE );
    if ( listenerGroup.isEmpty() ) {
      return;
    }
    final PreCollectionRecreateEvent event = new PreCollectionRecreateEvent( getPersister(), getCollection(), eventSource() );
    for ( PreCollectionRecreateEventListener listener : listenerGroup.listeners() ) {
      listener.onPreRecreateCollection( event );
    }
  }
View Full Code Here


  private void preRecreate() {
    EventListenerGroup<PreCollectionRecreateEventListener> listenerGroup = listenerGroup( EventType.PRE_COLLECTION_RECREATE );
    if ( listenerGroup.isEmpty() ) {
      return;
    }
    final PreCollectionRecreateEvent event = new PreCollectionRecreateEvent( getPersister(), getCollection(), eventSource() );
    for ( PreCollectionRecreateEventListener listener : listenerGroup.listeners() ) {
      listener.onPreRecreateCollection( event );
    }
  }
View Full Code Here

  private void preRecreate() {
    EventListenerGroup<PreCollectionRecreateEventListener> listenerGroup = listenerGroup( EventType.PRE_COLLECTION_RECREATE );
    if ( listenerGroup.isEmpty() ) {
      return;
    }
    final PreCollectionRecreateEvent event = new PreCollectionRecreateEvent( getPersister(), getCollection(), eventSource() );
    for ( PreCollectionRecreateEventListener listener : listenerGroup.listeners() ) {
      listener.onPreRecreateCollection( event );
    }
  }
View Full Code Here

TOP

Related Classes of org.hibernate.event.spi.PreCollectionRecreateEvent

Copyright © 2018 www.massapicom. 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.