java.sql.SQLException: "Connection has been returned to pool and this reference is no longer valid.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jtds by tcsampath
, 1 year ago
"Connection has been returned to pool and this reference is no longer valid.
via microsoft.com by Unknown author, 1 year ago
"Connection has been returned to pool and this reference is no longer valid.
via jtds by tcsampath
, 1 year ago
"Connection has been returned to pool and this reference is no longer valid.
via microsoft.com by Unknown author, 1 year ago
"Connection has been returned to pool and this reference is no longer valid.
via jtds by nileshkorade
, 1 year ago
"Connection has been returned to pool and this reference is no longer valid.
java.sql.SQLException: "Connection has been returned to pool and this reference is no longer valid.
at net.sourceforge.jtds.jdbcx.proxy.StatementProxy.validateConnection(StatementProxy.java:688)
at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:276)
at org.hibernate.jdbc.AbstractBatcher.closeStatements(AbstractBatcher.java:330)
at org.hibernate.jdbc.ConnectionManager.cleanup(ConnectionManager.java:382)
at org.hibernate.jdbc.ConnectionManager.close(ConnectionManager.java:324)
at org.hibernate.impl.SessionImpl.close(SessionImpl.java:298)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.