Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLException error in my code

 
Kgosietsile motlhokomedi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to compile code in java which gives me an error: java.sql.SQLException: Invalid handle any advice? the code is attached below

[moderator edit: created a title]
 
Jan Cumps
Bartender
Posts: 2615
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, Kgosietsile .
We don't see your attached code.
Can you show it to us, and the complete error message?

(I am moving this post to our JDBC forum, as it is about SQL Exceptions)
 
Onion rings are vegetable donuts. Taste this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!