In general, the Connection object would remain able to perform further operations. That certainly ought to be the case if the exception was due to bad SQL syntax, missing data etc. If, on the other hand, the exception was due to a lost physical link to the database, the Connection would be broken.
There are a number of rows that are inserted iteratively and for each row, a Statement is prepared from connection.After insertion of a certain number of records, I get a stament has been already closed exception. What could be the reason for this?
Post by:autobot
Alas, poor Yorick, he knew this tiny ad:
a bit of art, as a gift, the permaculture playing cards