wood burning stoves 2.0*
The moose likes JDBC and the fly likes database errror Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "database errror" Watch "database errror" New topic

database errror

shirish jaiswal

Joined: Apr 05, 2007
Posts: 1
well i m getting the following error n still not able to find out what the error..
i have tried everthing thts possible by takin new statement n resultset..
but still

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has bee
n closed.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.validateClosedState(Unknown So
at com.microsoft.jdbc.base.BaseConnection.createStatement(Unknown Source
at com.microsoft.jdbc.base.BaseConnection.createStatement(Unknown Source
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by shirish jaiswal:
still not able to find out what the error..

welcome to Javaranch,

this is what the error says:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed.

could you share your code snippet. it helps us to find out the problem or the Object.

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
I agree. Here's the link: http://aspose.com/file-tools
subject: database errror
Similar Threads
not able to execute the ejb plz help!
Need help with this code
error on TreeMap
Why NullPointerException?