Skip to Main Content

Java Database Connectivity (JDBC)

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!

auto commit - maybe simple

javadrinkJun 19 2003 — edited Jun 19 2003
Hi All,

I had this proble in JDev903

after I get a connection fron data source, I explicitly set autocommit to false using

conn = getConnection();
conn.setAutoCommit(false)
... do my stuff ...
... no commit called
... conn.close(); conn = null;
... reutrn from the method

However, all the changes still committed into the database.

anything wrong?

thanks for the help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2003
Added on Jun 19 2003
1 comment
250 views