Package org.hibernate.event

Examples of org.hibernate.event.PersistEvent


    persist(null, object);
  }

  public void persist(String entityName, Object object, Map copiedAlready)
  throws HibernateException {
    firePersist( copiedAlready, new PersistEvent(entityName, object, this) );
  }
View Full Code Here


  // persistOnFlush() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public void persistOnFlush(String entityName, Object object)
      throws HibernateException {
    firePersistOnFlush( new PersistEvent(entityName, object, this) );
  }
View Full Code Here

    persist(null, object);
  }

  public void persistOnFlush(String entityName, Object object, Map copiedAlready)
      throws HibernateException {
    firePersistOnFlush( copiedAlready, new PersistEvent(entityName, object, this) );
  }
View Full Code Here

            if ( pcEntry != null ) {
              subId = pcEntry.getId();
            }
            else {
              log.debug( "Performing implicit derived identity cascade" );
              final PersistEvent event = new PersistEvent( null, propertyValues[i], (EventSource) session );
              for ( int x = 0; x < session.getListeners().getPersistEventListeners().length; x++ ) {
                session.getListeners().getPersistEventListeners()[x].onPersist( event );

              }
              pcEntry = session.getPersistenceContext().getEntry( propertyValues[i] );
View Full Code Here


  // persist() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public void persist(String entityName, Object object) throws HibernateException {
    firePersist( new PersistEvent(entityName, object, this) );
  }
View Full Code Here

    persist(null, object);
  }

  public void persist(String entityName, Object object, Map copiedAlready)
  throws HibernateException {
    firePersist( copiedAlready, new PersistEvent(entityName, object, this) );
  }
View Full Code Here

  // persistOnFlush() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public void persistOnFlush(String entityName, Object object)
      throws HibernateException {
    firePersistOnFlush( new PersistEvent(entityName, object, this) );
  }
View Full Code Here

    persist(null, object);
  }

  public void persistOnFlush(String entityName, Object object, Map copiedAlready)
      throws HibernateException {
    firePersistOnFlush( copiedAlready, new PersistEvent(entityName, object, this) );
  }
View Full Code Here


  // persist() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public void persist(String entityName, Object object) throws HibernateException {
    firePersist( new PersistEvent(entityName, object, this) );
  }
View Full Code Here

    persist(null, object);
  }

  public void persist(String entityName, Object object, Map copiedAlready)
  throws HibernateException {
    firePersist( copiedAlready, new PersistEvent(entityName, object, this) );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.event.PersistEvent

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.