This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes SQLException error in my code Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "SQLException error in my code" Watch "SQLException error in my code" New topic
Author

SQLException error in my code

Kgosietsile motlhokomedi
Greenhorn

Joined: Oct 18, 2010
Posts: 1
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

Joined: Dec 20, 2006
Posts: 2343

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)


OCUP UML fundamental
ITIL foundation
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: SQLException error in my code
 
Similar Threads
Intercept a 404 Error
Regarding Interface Concept
String concentation
Dynamic images in jsp
Servlet to Applet communication