Win a copy of The Java Performance Companion this week in the Performance 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: 2588
11
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic