[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5573) Change TestCase to rebuildSessionFactory() whenever sessions var is accessed

Steve Ebersole (JIRA) noreply at atlassian.com
Thu Sep 16 12:12:22 EDT 2010


Change TestCase to rebuildSessionFactory() whenever sessions var is accessed
----------------------------------------------------------------------------

                 Key: HHH-5573
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5573
             Project: Hibernate Core
          Issue Type: Bug
          Components: annotations, testsuite
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole
            Priority: Minor


Currently the {{sessions}} var is only built when {{openSession}} is called.  That means code trying to call getSessions() prior to opening session wil fail if the {{SessionFactory}} had not yet been built (or if it had been built previously but a previously run test failed)

-- 
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