[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2329) session.getStatistics is unavailable in a non-tx environment

Mert Caliskan (JIRA) noreply at atlassian.com
Wed Dec 27 16:16:44 EST 2006


session.getStatistics is unavailable in a non-tx environment
------------------------------------------------------------

         Key: HHH-2329
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2329
     Project: Hibernate3
        Type: Improvement

  Components: core  
    Versions: 3.2.1    
    Reporter: Mert Caliskan


While trying to get the statistics from currentSession, the exception below is thrown...

org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

Getting statistics from currentSession should also be supported in a non-tx environment.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list