aspose file tools
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


Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 31634
    
189

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.


[OCA 8 book] [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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invalid Handle Exception