-
Sep 25th, 2012, 10:02 PM
#1
Transaction NOT Rollback for RuntimeException
Hi
We use Spring' JpaTransactionManager with hiberate persistence.xml using LocalContainerEntityManagerFactoryBean. I tried to rollback a transaction by explicitly throwing a Runtime excpetion. But all the data in 3 different JPA Entities is committed.
How to rollback a transaction using Spring+JPA+Hibernate?
Thanks in adv
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules