Joined: Wed Dec 20, 2006 12:04 am Posts: 2
|
Hi all,
I am using Spring 2's HibernateTransactionManager to declare transactions using Hibernate.
I have the transaction setting as NOT_SUPPORTED on insert() on a DAO in my test class. A row is being inserted into the database inspite of the above transaction setting.
Why is this so? Do I need to explictly set the autocommit false?
Can some one explain the internal mechanism of spring's hibernateTransactionManager?
Any input is highly appreciated.
Thanks in advance for your time and interest.
|
|