Package org.hibernate.event.spi

Examples of org.hibernate.event.spi.SaveOrUpdateEvent


    saveOrUpdate( null, object );
  }

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


    return save( null, obj );
  }

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

    update( null, obj );
  }

  @Override
  public void update(String entityName, Object object) throws HibernateException {
    fireUpdate( new SaveOrUpdateEvent( entityName, object, 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 void update(Object obj) throws HibernateException {
    update(null, obj);
  }

  public void update(String entityName, Object object) throws HibernateException {
    fireUpdate( new SaveOrUpdateEvent( entityName, object, 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 void update(Object obj) throws HibernateException {
    update( null, obj );
  }

  public void update(String entityName, Object object) throws HibernateException {
    fireUpdate( new SaveOrUpdateEvent( entityName, object, 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

TOP

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