| Author |
CONM7007I: Mapping the following SQLException, with ErrorCode -901 and SQLState 58004
|
Maria del Carmen Castillo MArtini
Greenhorn
Joined: Oct 22, 2004
Posts: 3
|
|
Hi, I have a problem when I execute a query, it Throws: CONM7007I: Mapping the following SQLException, with ErrorCode -901 and SQLState 58004, to a StaleConnectionException: java.sql.SQLException: [SQL0901] Error del sistema SQL. and it is as all others querys I execute, so I don�t know why this is happening, I really need your help. Thanks.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26489
|
|
Maria, That SQL State is for a stale connection. That explains why you are only getting the error sometimes. Try doing a search of this forum for "stale connection." It is a topic frequently discussed. If you have a more specific question, feel free to post it here. Welcome to JavaRanch!
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: CONM7007I: Mapping the following SQLException, with ErrorCode -901 and SQLState 58004
|
|
|