jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases 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 and Relational Databases
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: database errror
It's not a secret anymore!