connection: fix statement leak from commiting transactions - #300
Conversation
Closing the connection with closeJdbcConnection() prevented close() from closing registered statements. Closesaaberg#202.
Sorry to repeat my comment from #202, but I have found this fix to be a good fix |
Adam-
commented
Sep 26, 2022
I was able to work around this in my code via: query.executeBatch();
con.commit(false);at every place that I open a transaction |
|
Closing the connection with closeJdbcConnection() prevented close() from
closing registered statements. Closes#202.