Disable auto commit on Oracle SQL Developer with DB2

Is there any way to DISABLE auto commit on Oracle SQL Developer with DB2? SQL Developer is and DB2 is

Usual icons for Commit and Rollback (in SQL File window) are grayed out, and in Tools -> Preferences -> Database -> Advanced -> Autocommit is deselected.

On DB2 level, autocommit is OFF (UPDATE COMMAND OPTIONS USING c OFF), setting is checked.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent OlsenDBACommented:
Hi Nenad,

I suspect that your issue is with the JDBC driver, where autocommit=true is the default.  It's not your application (SQL Developer) that is issuing the commit, it's the driver.

This came up a while back.  Autocommit could be disabled in the application code, but I don't know how this translates to SQL Developer.  


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KPaxAuthor Commented:
So, in essence, I can't do nothing about it?
Kent OlsenDBACommented:
I won't go that far, but I don't know of anything.

The driver can be configured to not perform the autocommit.  But one of the driver's class methods needs to be called.

  conn.setAutoCommit (false);

I'm not sure that it can be done through SQL Developer.
KPaxAuthor Commented:
In IBM Data Studio there are detailed settings for JBDC driver, but none of those are present in Oracle SQL Developer, or at least none that I am ware of .
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.