mbean « Connection « JPA Q&A





1. the connection is manged by mbean of jboss????    forum.hibernate.org

2. setting hibernate.connection.release_mode to Hibernate MBean    forum.hibernate.org

Hello, I am using Hibernate as an MBean with JBoss (and JTA) and I am getting the following exception: [org.jboss.resource.connectionmanager.CachedConnectionManager]Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.WrappedConnection Apparently this can be solved by setting the hibernate.connection.release_mode to auto or after_statement. However, what is the attribute name that I need to set when using Hibernate as an MBean, i.e. when ...