Examples of PersistEvent


Examples of org.hibernate.event.spi.PersistEvent

            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 ( PersistEventListener listener : persistEventListeners ) {
                listener.onPersist( event );
              }
              pcEntry = persistenceContext.getEntry( propertyValues[i] );
              if ( pcEntry == null || pcEntry.getId() == null ) {
View Full Code Here

Examples of org.hibernate.event.spi.PersistEvent

            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 ( PersistEventListener listener : persistEventListeners( session ) ) {
                listener.onPersist( event );
              }
              pcEntry = session.getPersistenceContext().getEntry( propertyValues[i] );
              if ( pcEntry == null || pcEntry.getId() == null ) {
View Full Code Here

Examples of org.hibernate.event.spi.PersistEvent


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

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

Examples of org.hibernate.event.spi.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

Examples of org.hibernate.event.spi.PersistEvent

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

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

Examples of org.hibernate.event.spi.PersistEvent

    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

Examples of org.hibernate.event.spi.PersistEvent

            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 ( PersistEventListener listener : persistEventListeners ) {
                listener.onPersist( event );
              }
              pcEntry = persistenceContext.getEntry( propertyValues[i] );
              if ( pcEntry == null || pcEntry.getId() == null ) {
View Full Code Here

Examples of org.hibernate.event.spi.PersistEvent


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

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

Examples of org.hibernate.event.spi.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

Examples of org.hibernate.event.spi.PersistEvent

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

  public void persistOnFlush(String entityName, Object object)
      throws HibernateException {
    firePersistOnFlush( new PersistEvent( entityName, object, this ) );
  }
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.