wood burning stoves 2.0*
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
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

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
 
Similar Threads
Problem in updating/deleting data from MS Access Database
An unexpected error of Java Runtime Environment:
"Function sequence error!" what is it mean
Problem in bmp entity bean while running client?
Database access, potential threading problem?