Package org.hibernate.event

Examples of org.hibernate.event.MergeEvent



  // merge() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public Object merge(String entityName, Object object) throws HibernateException {
    return fireMerge( new MergeEvent(entityName, object, this) );
  }
View Full Code Here


  public Object merge(Object object) throws HibernateException {
    return merge(null, object);
  }

  public void merge(String entityName, Object object, Map copiedAlready) throws HibernateException {
    fireMerge( copiedAlready, new MergeEvent(entityName, object, this) );
  }
View Full Code Here

  // saveOrUpdateCopy() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public Object saveOrUpdateCopy(String entityName, Object object)
      throws HibernateException {
    return fireSaveOrUpdateCopy( new MergeEvent(entityName, object, this) );
  }
View Full Code Here

    return saveOrUpdateCopy( null, object );
  }

  public Object saveOrUpdateCopy(String entityName, Object object, Serializable id)
      throws HibernateException {
    return fireSaveOrUpdateCopy( new MergeEvent(entityName, object, id, this) );
  }
View Full Code Here

    return saveOrUpdateCopy( null, object, id );
  }

  public void saveOrUpdateCopy(String entityName, Object object, Map copiedAlready)
      throws HibernateException {
    fireSaveOrUpdateCopy( copiedAlready, new MergeEvent( entityName, object, this ) );
  }
View Full Code Here


  // merge() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public Object merge(String entityName, Object object) throws HibernateException {
    return fireMerge( new MergeEvent( entityName, object, this ) );
  }
View Full Code Here

  public Object merge(Object object) throws HibernateException {
    return merge( null, object );
  }

  public void merge(String entityName, Object object, Map copiedAlready) throws HibernateException {
    fireMerge( copiedAlready, new MergeEvent( entityName, object, this ) );
  }
View Full Code Here


  // merge() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public Object merge(String entityName, Object object) throws HibernateException {
    return fireMerge( new MergeEvent(entityName, object, this) );
  }
View Full Code Here

  public Object merge(Object object) throws HibernateException {
    return merge(null, object);
  }

  public void merge(String entityName, Object object, Map copiedAlready) throws HibernateException {
    fireMerge( copiedAlready, new MergeEvent(entityName, object, this) );
  }
View Full Code Here

  // saveOrUpdateCopy() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  public Object saveOrUpdateCopy(String entityName, Object object)
      throws HibernateException {
    return fireSaveOrUpdateCopy( new MergeEvent(entityName, object, this) );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.event.MergeEvent

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.