Menu

#90 Closing of PreparedStatement causes Exception

open
nobody
core (38)
5
2008-07-31
2008-07-31
Anonymous
No

In OracleBlobManager.java at line 218 PreparedStatement ps1 is closed with method close().
A few lines below, line 234 or 237, DatabaseUtils.closeStatement(ps1) is called.

This method throws a SQLException (Already closed).
ps1 is never opened or reinitialised between line 218 and 234 or 237, so this exception will always be thrown.

Discussion


Log in to post a comment.