[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-5573) Change TestCase to rebuildSessionFactory() whenever sessions var is accessed
Steve Ebersole (JIRA)
noreply at atlassian.com
Thu Sep 16 12:55:22 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-5573.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.6.x
> 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
> Fix For: 3.6.x
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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