File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "Invalid Handle Exception" Watch "Invalid Handle Exception" New topic

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

Joined: May 26, 2003
Posts: 33125

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

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Invalid Handle Exception
It's not a secret anymore!