Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StaleConnectionException

 
Sanjeev Kaushik
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running my application in Websphere 5.0 and using Oracle 9.2 DB. Sometime I get StaleConnectionException. Is there any workaround how to fix this? Can I check the connection object, before I use it?
Please help.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sanjeev,
You can try doing the query again. Often it works the second time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic