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 exceptions 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 "exceptions" Watch "exceptions" New topic


amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
The code of function is like follows:

The Exception is thrown as

at cms.history.candidate.InterviewFeedBack.DateFunction(
at cms.history.candidate.InterviewFeedBack.main(
java.sql.SQLException: ResultSet is closed
at sun.jdbc.odbc.JdbcOdbcResultSet.checkOpen(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.clearWarnings(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.close(Unknown Source)
at cms.history.candidate.InterviewFeedBack.DateFunction(
at cms.history.candidate.InterviewFeedBack.main(

If u suggest what to do please tell me ...

thanks in advance..

amit bhadre

[ June 27, 2006: Message edited by: amit bhadre ]

[edited to add code tags]
[ June 27, 2006: Message edited by: Jeanne Boyarsky ]

Thanks advance who ever answers this question.

amit bhadre
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
Find line number 108; that's the line that has the error.

If you can't figure it out from that, tell us which line is line number 108.
I agree. Here's the link:
subject: exceptions
It's not a secret anymore!