Invalid statement object state at r1108
Brought to you by:
ickzon
The JtdsStatement.close() cleanup in r1108 introduces a problem. When using jTDS with Hibernate Tools, an error is thrown complaining that the Statement is closed, presumably after Hibernate Tools closes a connection and then asks for another one. Moving closed = true back to a finally block fixes this problem (although I don't know if that's the optimal fix). Stack track and patch attached.
Anonymous
Patch for JtdsStatement.close()
Stack trace
Thank you for reporting that problem. I just fixed it in SVN.
Cheers,
momo