"amit4uall" wrote :
| and the exception is:
| java.sql.SQLException: You cannot commit with autocommit set!
| at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcComm
| it(BaseWrapperManagedConnection.java:545)
| at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConne
| ction.java:334)
| at com.syfact.core.util.DBConduit.endTransaction(DBConduit.java:1500)...
|
|
|
| Thanks and Regards,
| Amit
|
Your problem is not related to this thread you would be calling the commit() on the
connection whose autocommit property is set to true.
You are seeing this
SQLException - if a database access error occurs or this Connection object is in
auto-commit mode
http://java.sun.com/javase/6/docs/api/java/sql/Connection.html#commit()
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132241#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...