wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes proxy handle is no longer valid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "proxy handle is no longer valid" Watch "proxy handle is no longer valid" New topic
Author

proxy handle is no longer valid

Kevin Sheng
Greenhorn

Joined: Jun 26, 2012
Posts: 13
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(AbstractProxyHandler.java:63)
at org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:100)
at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
at $Proxy9.getWrappedObject(Unknown Source)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(JdbcResourceRegistryImpl.java:215)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.cleanup(JdbcResourceRegistryImpl.java:189)
at org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl.close(JdbcResourceRegistryImpl.java:206)
at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.close(LogicalConnectionImpl.java:197)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.close(JdbcCoordinatorImpl.java:141)
at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.close(TransactionCoordinatorImpl.java:276)
at org.hibernate.internal.SessionImpl.close(SessionImpl.java:349)
at com.shengtech.docm.entitymanager.StoredProcedureManager.runStoredProcedure(StoredProcedureManager.java:32)
at com.shengtech.docm.entitymanager.StoredProcedureManager.main(StoredProcedureManager.java:45)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: proxy handle is no longer valid
 
Similar Threads
Hibernate Date Issue
Hwo to get set of Dates between two limits ?
Hibernate and DB2 stored procedure
A little issue with <c:set ...>
Upgrading our app from JDK1.4 to JDK1.5