This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


JavaRanch » Java Forums » Databases » JDBC
Bookmark "database errror" Watch "database errror" New topic
Author

database errror

shirish jaiswal
Greenhorn

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
urce)
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.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
GeeCON Prague 2014
 
subject: database errror