Package org.hibernate.event

Examples of org.hibernate.event.PreCollectionRecreateEvent


  private void preRecreate() {
    PreCollectionRecreateEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRecreateEventListeners();
    if (preListeners.length > 0) {
      PreCollectionRecreateEvent preEvent = new PreCollectionRecreateEvent(
          getPersister(), getCollection(), ( EventSource ) getSession() );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRecreateCollection( preEvent );
      }
    }
View Full Code Here


  private void preRecreate() {
    PreCollectionRecreateEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRecreateEventListeners();
    if (preListeners.length > 0) {
      PreCollectionRecreateEvent preEvent = new PreCollectionRecreateEvent(
          getPersister(), getCollection(), ( EventSource ) getSession() );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRecreateCollection( preEvent );
      }
    }
View Full Code Here

  private void preRecreate() {
    PreCollectionRecreateEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRecreateEventListeners();
    if (preListeners.length > 0) {
      PreCollectionRecreateEvent preEvent = new PreCollectionRecreateEvent(
          getPersister(), getCollection(), ( EventSource ) getSession() );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRecreateCollection( preEvent );
      }
    }
View Full Code Here

  private void preRecreate() {
    PreCollectionRecreateEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRecreateEventListeners();
    if (preListeners.length > 0) {
      PreCollectionRecreateEvent preEvent = new PreCollectionRecreateEvent(
          getPersister(), getCollection(), ( EventSource ) getSession() );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRecreateCollection( preEvent );
      }
    }
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() {
    PreCollectionRecreateEventListener[] preListeners = getSession().getListeners()
        .getPreCollectionRecreateEventListeners();
    if (preListeners.length > 0) {
      PreCollectionRecreateEvent preEvent = new PreCollectionRecreateEvent(
          getPersister(), getCollection(), ( EventSource ) getSession() );
      for ( int i = 0; i < preListeners.length; i++ ) {
        preListeners[i].onPreRecreateCollection( preEvent );
      }
    }
View Full Code Here

TOP

Related Classes of org.hibernate.event.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.