java.sql.SQLException

"Connection has been returned to pool and this reference is no longer valid.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13109

  • "Connection has been returned to pool and this reference is no longer valid.
  • "Connection has been returned to pool and this reference is no longer valid.
  • "Connection has been returned to pool and this reference is no longer valid.
  • Stack trace

    • 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 net.sourceforge.jtds.jdbcx.proxy.StatementProxy.getMaxRows(StatementProxy.java:134) 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) at org.springframework.orm.hibernate3.SessionFactoryUtils.closeSession(SessionFactoryUtils.java:774)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago