declarative « Transaction « JPA Q&A





1. autocommit in declarative transaction management    forum.hibernate.org

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 ...

2. Declarative Transactional Management Issue    forum.hibernate.org

Hi all, I'm doing a project using Hibernate3.0. I have studied some tutorials on transactional management. However, when I implement it on my project, it's not work. The configuration is shown below: [code] com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/test root 123123 ...