This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "invalid Handle exception!!" Watch "invalid Handle exception!!" New topic

invalid Handle exception!!

Naresh Rajan
Ranch Hand

Joined: Sep 08, 2005
Posts: 45
Hi i am developing an application which goes like this

f= new FileOutPutSTream(fil2);
b = new BufferOutPutStream(f);


//Calling a method which calls an insert SP


If I have the insertASD() method then an IOException (The handle is invalid). If I remove the call insertASD() method thus not inserting into the database,I dont get the exception. Please help me in this regard.

Am not a pro and thats why am here!!!
Edward Harned
Ranch Hand

Joined: Sep 19, 2005
Posts: 291

About the only thing I can say for certain is that this is not a Thread problem and you are in the wrong forum.

Perhaps JDBC (since you're using resultSet) or I/O and Streams.

Ed's latest article: A Java Parallel Calamity
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24193

Off to JDBC.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: invalid Handle exception!!
It's not a secret anymore!