Package org.hibernate.event

Examples of org.hibernate.event.SaveOrUpdateEvent


  public void saveOrUpdate(Object object) throws HibernateException {
    saveOrUpdate(null, object);
  }

  public void saveOrUpdate(String entityName, Object obj) throws HibernateException {
    fireSaveOrUpdate( new SaveOrUpdateEvent(entityName, obj, this) );
  }
View Full Code Here


  public Serializable save(Object obj) throws HibernateException {
    return save(null, obj);
  }

  public Serializable save(String entityName, Object object) throws HibernateException {
    return fireSave( new SaveOrUpdateEvent(entityName, object, this) );
  }
View Full Code Here

  public Serializable save(String entityName, Object object) throws HibernateException {
    return fireSave( new SaveOrUpdateEvent(entityName, object, this) );
  }

  public void save(String entityName, Object object, Serializable id) throws HibernateException {
    fireSave( new SaveOrUpdateEvent(entityName, object, id, this) );
  }
View Full Code Here

  public void update(Object obj, Serializable id) throws HibernateException {
    update(null, obj, id);
  }

  public void update(String entityName, Object object) throws HibernateException {
    fireUpdate( new SaveOrUpdateEvent(entityName, object, this) );
  }
View Full Code Here

  public void update(String entityName, Object object) throws HibernateException {
    fireUpdate( new SaveOrUpdateEvent(entityName, object, this) );
  }

  public void update(String entityName, Object object, Serializable id) throws HibernateException {
    fireUpdate(new SaveOrUpdateEvent(entityName, object, id, this));
  }
View Full Code Here

  public void saveOrUpdate(Object object) throws HibernateException {
    saveOrUpdate(null, object);
  }

  public void saveOrUpdate(String entityName, Object obj) throws HibernateException {
    fireSaveOrUpdate( new SaveOrUpdateEvent(entityName, obj, this) );
  }
View Full Code Here

  public Serializable save(Object obj) throws HibernateException {
    return save(null, obj);
  }

  public Serializable save(String entityName, Object object) throws HibernateException {
    return fireSave( new SaveOrUpdateEvent(entityName, object, this) );
  }
View Full Code Here

  public Serializable save(String entityName, Object object) throws HibernateException {
    return fireSave( new SaveOrUpdateEvent(entityName, object, this) );
  }

  public void save(String entityName, Object object, Serializable id) throws HibernateException {
    fireSave( new SaveOrUpdateEvent(entityName, object, id, this) );
  }
View Full Code Here

  public void update(Object obj, Serializable id) throws HibernateException {
    update(null, obj, id);
  }

  public void update(String entityName, Object object) throws HibernateException {
    fireUpdate( new SaveOrUpdateEvent(entityName, object, this) );
  }
View Full Code Here

  public void update(String entityName, Object object) throws HibernateException {
    fireUpdate( new SaveOrUpdateEvent(entityName, object, this) );
  }

  public void update(String entityName, Object object, Serializable id) throws HibernateException {
    fireUpdate(new SaveOrUpdateEvent(entityName, object, id, this));
  }
View Full Code Here

TOP

Related Classes of org.hibernate.event.SaveOrUpdateEvent

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.