-
1. Re: Hibernate integration and CachedConnectionManager
paulkuit Apr 6, 2005 8:37 AM (in response to wmax)I´m probably missing something very important, but I understood while using HibernateContext.getSesion(String jndi) would give me a valid Session for the current transaction, and JBoss would take care of all (dis)connecting of the Session and transaction management. But when I remove the statements session.close(), I receive the same message;
Closing a connection for you. Please close them yourself:
When I change the
true
option in the JCA service the message turns into;
Unregistered handle that was not registered! org.jboss.resource.adapter.jdbc.WrappedConnection@139c789 for managedConnection: org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@de9738
I tried this on JBoss 3.2.7 and 4.0.1_sp1, but with the same results, using Hibernate 2.1.8. -
2. Re: Hibernate integration and CachedConnectionManager
paulkuit Apr 6, 2005 8:40 AM (in response to wmax)Sorry, was removed some HTML from my previous reply;
When I change the true option in the JCA service
Should be;
SpecCompliant -> true in jbossjca-service.xml