Hi,
I am facing problem with preparedstatment while using multiple DML
statements,

I am using one connection and multiple prepared statements and I am
getting this Error

Connection.close() has already been called. Invalid operation in this
state.


PreparedStatement pstmt1;
PreparedStatement pstmt2;

I set the prepare statement one first execute and set the prepare
statement two then execute that.

Can any one figure out why this exception occurs?

Thanks in advance!
Daniel.E

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to