Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database errror

 
shirish jaiswal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic