UnexpectedRollbackException « Transaction « Spring Q&A





1. UnexpectedRollbackException overrides my own exception    stackoverflow.com

I have the following strange scenario with spring's transaction management: I have method A which calls method B which calls method C, each of them in a different class. Methods B and ...

2. org.springframework.transaction.UnexpectedRollbackException for Null @Version column    stackoverflow.com

I'm using Spring 3.0.4-RELEASE, JPA 2.0 with Hibernate as a provider, and JTA JOTM for transactions in my application. I've received the following error when calling entityManager.merge on my entity ...

3. UnexpectedRollbackException in a rollback JUnit test    forum.springsource.org

UnexpectedRollbackException in a rollback JUnit test I have a JUnit test that uses AbstractTransactionalDataSourceSpringContextTests. I recently upgraded from Spring 1.1.5 to 1.2.2 and the test fails (succeeded in 1.1.5) with the ...

4. UnexpectedRollbackException: Transaction rolled back because it has been marked as ro    forum.springsource.org

UnexpectedRollbackException: Transaction rolled back because it has been marked as ro I am getting the following exception when marking the transaction for rollback by throwing an exception in the service layer: ...

5. Transactions: UnexpectedRollbackException - marked foll rollback in outer tx    forum.springsource.org

Dec 12th, 2006, 10:38 AM #1 justinwalsh View Profile View Forum Posts Private Message Junior Member Join Date Mar 2006 Posts 5 Transactions: UnexpectedRollbackException - marked foll rollback in outer tx ...

6. UnexpectedRollbackException with @Transactional    forum.springsource.org

UnexpectedRollbackException with @Transactional I am using Spring 2.0.1 and Hibernate 3.2 and I get an UnexpectedRollbackException which overrides my own exception. I use the JPA and the JTA, EntityManager gets initialized ...

7. Gobal transaction does not commit : UnexpectedRollbackException    forum.springsource.org

Gobal transaction does not commit : UnexpectedRollbackException Hello, I have a transactional method m1() who calls another transactional method m2() : Code: public void m1() { try { m2(); } catch(Exception ...

8. catching UnexpectedRollbackException thrown in a transactional service    forum.springsource.org

i have a service class that throws a custom exception that inherits RuntimeException class. when ever an exception is thrown on my service class, the transaction is rolled back thus showing ...