jaybird icon indicating copy to clipboard operation
jaybird copied to clipboard

Some actions on PreparedStatement/CallableStatement incorrectly complete other statements in autoCommit [JDBC352]

Open firebird-automations opened this issue 11 years ago • 0 comments

Submitted by: @mrotteveel

Some actions on PreparedStatement/CallableStatement incorrectly complete other statements in autoCommit. This is caused by a call to notifyStatementStart() where only the (FBStatement) field completed needs to be set to false, and an ensureTransaction call is needed.

This happens on calls to Connection.prepareStatement (in the FBPreparedStatement constructor), and FBCallableStatement.getParameterMetaData().

firebird-automations avatar Apr 29 '14 17:04 firebird-automations