I am getting problem on auto commit. I am using IBatis as a persistence frame work and mysql as data base. When i am trying to commit in IBatis i am getting exception as already commited.
I am getting following exception when i am trying to update query
java.sql.SQLException: You cannot commit during a managed transaction!
Can any body help to resolve this issue.
Managed transaction environments (JBoss is one) do not allow client managed transactions (commit, rollback, etc.). Hibernate has methods for transaction management when running on JBoss. I would bet the iBatis also does but I have no experience with it.
Hope this helps.