No way to specify Connection Release Mode in HMBean
---------------------------------------------------
Key: HIBERNATE-55
URL:
http://jira.jboss.com/jira/browse/HIBERNATE-55
Project: Hibernate
Issue Type: Feature Request
Reporter: Mohammed Sadiq
Assigned To: Steve Ebersole
In my application I have employed an Hibernate MBean for session factory creation and
binding it to JNDI and I've added a new overload for the
SessionFactory.openSession(Interceptor, ConnectionReleaseMode) method to oveeride the
default connection release mode.
The default connection release mode for any Hibernate session created using the session
factory deployed through a Hibernate MBean configuration is taken as
"after_statement".
It will be more helpful, if there exists an MBean attribute
"ConnectionReleaseMode" which can thake the enumerated values from the
org.hibernate.ConnectionReleaseMode.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira