aspose file tools*
The moose likes JDBC and the fly likes Invalid Handle Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Invalid Handle Exception" Watch "Invalid Handle Exception" New topic
Author

Invalid Handle Exception

faisal hameed
Ranch Hand

Joined: Jan 19, 2009
Posts: 48
I an using access database.When i tried to update data, i am getting invalid handle exception and How can i get no of columns from database?


Regards, M Faisal Hameed
PUCIT, Pakistan
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Faisal,
Have you tried closing the statement and getting a new one to do the update?

As far as the # columns, search for database metadata.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Invalid Handle Exception