• Post Reply Bookmark Topic Watch Topic
  • New Topic

throwing an Exception after first exceution ..  RSS feed

 
shiva mistry
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't close the connection, then.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!