File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes SQLException error in my code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
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: 2516
    
  10

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 and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SQLException error in my code