connection: fix statement leak from commiting transactions#300
connection: fix statement leak from commiting transactions#300Adam- wants to merge 1 commit intoaaberg:masterfrom
Conversation
Closing the connection with closeJdbcConnection() prevented close() from closing registered statements. Closes aaberg#202.
|
Sorry to repeat my comment from #202, but I have found this fix to be a good fix |
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.