wood burning stoves 2.0*
The moose likes JDBC and the fly likes throwing an Exception after first exceution .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "throwing an Exception after first exceution .." Watch "throwing an Exception after first exceution .." New topic
Author

throwing an Exception after first exceution ..

shiva mistry
Greenhorn

Joined: Feb 05, 2013
Posts: 10
When I try to Enter sid second time from command prompt it throws an Exception like Connection is closed but if i comment out the con.close() then it allows to perform another query ,I do not know what to do ?can any one help please?



Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Don't close the connection, then.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: throwing an Exception after first exceution ..
 
Similar Threads
guestbook, looping, beans and JSTL
giving ClassCastException while deploying ejb2.0 Bmp application on jboss4.5
Applet blinking, DB doesn't work
JSTL for loop error
Getting an Exception like NoClassDefFoundError