Package org.hibernate.event.spi

Examples of org.hibernate.event.spi.DeleteEvent


  // delete() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  @Override
  public void delete(Object object) throws HibernateException {
    fireDelete( new DeleteEvent( object, this ) );
  }
View Full Code Here


    fireDelete( new DeleteEvent( object, this ) );
  }

  @Override
  public void delete(String entityName, Object object) throws HibernateException {
    fireDelete( new DeleteEvent( entityName, object, this ) );
  }
View Full Code Here

    fireDelete( new DeleteEvent( entityName, object, this ) );
  }

  @Override
  public void delete(String entityName, Object object, boolean isCascadeDeleteEnabled, Set transientEntities) throws HibernateException {
    fireDelete( new DeleteEvent( entityName, object, isCascadeDeleteEnabled, this ), transientEntities );
  }
View Full Code Here

  @Override
  public void removeOrphanBeforeUpdates(String entityName, Object child) {
    // TODO: The removeOrphan concept is a temporary "hack" for HHH-6484.  This should be removed once action/task
    // ordering is improved.
    fireDelete( new DeleteEvent( entityName, child, false, true, this ) );
  }
View Full Code Here

  /**
   * Delete a persistent object
   */
  public void delete(Object object) throws HibernateException {
    fireDelete( new DeleteEvent( object, this ) );
  }
View Full Code Here

  /**
   * Delete a persistent object (by explicit entity name)
   */
  public void delete(String entityName, Object object) throws HibernateException {
    fireDelete( new DeleteEvent( entityName, object, this ) );
  }
View Full Code Here

  /**
   * Delete a persistent object
   */
  public void delete(String entityName, Object object, boolean isCascadeDeleteEnabled, Set transientEntities) throws HibernateException {
    fireDelete( new DeleteEvent( entityName, object, isCascadeDeleteEnabled, this ), transientEntities );
  }
View Full Code Here

  /**
   * Delete a persistent object
   */
  public void delete(Object object) throws HibernateException {
    fireDelete( new DeleteEvent( object, this ) );
  }
View Full Code Here

  /**
   * Delete a persistent object (by explicit entity name)
   */
  public void delete(String entityName, Object object) throws HibernateException {
    fireDelete( new DeleteEvent( entityName, object, this ) );
  }
View Full Code Here

  /**
   * Delete a persistent object
   */
  public void delete(String entityName, Object object, boolean isCascadeDeleteEnabled, Set transientEntities) throws HibernateException {
    fireDelete( new DeleteEvent( entityName, object, isCascadeDeleteEnabled, this ), transientEntities );
  }
View Full Code Here

TOP

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

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.