Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

connection.rollback() and connection.commit() are not working

807569Jul 6 2006 — edited Jul 7 2006
Hello, I am making a JDBC connection to a database and then issuing setAutoCommit(false). I then run a stored procedure which does inserts to the DB. However, when I issue conn.commit() or conn.rollback(), I get the following message:

java.sql.SQLException: DSRA9350E Operation Connection.rollback is not allowed during a global transaction

I am not using an XA datasource. Does anyone know what the problem is?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2006
Added on Jul 6 2006
8 comments
1,136 views