-
May 19th, 2008, 03:56 PM
#1
JpaTransactionManager/@Transactional/JdbcTemplate - roll backs not working
Hi all,
I'm successfully using JPA (with hibernate as the provider) in my application with the 'tx:annotation-driven' configuration, a JpaTransactionManager, and @Transactional annotations.
I'm trying now to add a regular old DAO that extends JdbcDaoSupport with @Transactional annotations.
When I try to execute a number of sql statements within the same method on this DAO (and thus the same transaction), I would expect that when one fails, all the other statements would be rolled back - but for me, they're not. Whatever statements that succeeded get committed.
Is there anything obvious that I'm doing wrong?
I'm using Spring 2.5.4.
Thanks in advance,
Justin
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