File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

proxy handle is no longer valid

Kevin Sheng
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When closing hibernate session, I got an exception. I am using Hibernate 4.1.7-Final. I searched the web to no avail.

Can anyone shed light on this issue? Thanks/Kevin

org.hibernate.HibernateException: proxy handle is no longer valid
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.errorIfInvalid(
at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(
at $Proxy9.getWrappedObject(Unknown Source)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.cleanup(
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(
at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.close(
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.close(
at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.close(
at org.hibernate.internal.SessionImpl.close(
at com.shengtech.docm.entitymanager.StoredProcedureManager.runStoredProcedure(
at com.shengtech.docm.entitymanager.StoredProcedureManager.main(
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic