• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

database errror

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
)
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic