saveorupdate « Transaction « Spring Q&A





1. Do I need to enclose all saveOrUpdate methods with try-catch?    stackoverflow.com

Do I always need to enclose the saveOrUpdate or delete on Session in DAOs with try-catch block like this bellow?

public void save(Inventory object) {
    try {
   ...

2. NonUniqueObjectException while saveorupdate within a transaction    forum.springsource.org

Nov 25th, 2005, 05:09 AM #1 keerthi_jr View Profile View Forum Posts Private Message Junior Member Join Date Nov 2005 Posts 3 NonUniqueObjectException while saveorupdate within a transaction I am working ...

3. SaveOrUpdate in transaction bounded test case does not work?..    forum.springsource.org

SaveOrUpdate in transaction bounded test case does not work?.. don't know if org.springframework.test falls under CORE or not but here goes: using saveOrUpdate in combination with evit, refresh from a cache..inside ...

4. How does saveOrUpdate/transaction works?    forum.springsource.org

How does saveOrUpdate/transaction works? I don't know quite how to ask this, so here is an example: public void testUpdatePhone() { Phone phone = dao.findById(1l); phone.setNumber("99999999"); dao.saveOrUpdate(phone ); // if removed, ...