Re: Behavior of Connection.commit()





Wes Clark wrote:

Actually, we call setAutoCommit(false) on the connection, we don't issue "SET IMPLICIT_TRANSACTIONS ON" via sql.

Whew, good. I'm sure you know how bad form it would be to mix transactional control between JDBC and DBMS-specific SQL. (I've seen it done!). Can you verify that you *always* call setAutoCommit(false) before calling commit()? thanks, Joe Weinstein at BEA Systems

.


Quantcast