[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6772) org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase overrides system properties

Strong Liu (JIRA) noreply at atlassian.com
Wed Oct 26 02:23:19 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-6772.
-----------------------------

    Resolution: Fixed

> org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase overrides system properties
> --------------------------------------------------------------------------------------
>
>                 Key: HHH-6772
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6772
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: testsuite
>            Reporter: Strong Liu
>            Assignee: Strong Liu
>             Fix For: 4.0.0.next
>
>
> _org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase_
> {code}
> 	ejb3Configuration = buildConfiguration();
> 	ejb3Configuration.configure( getConfig() );
> {code}
> the first one, create a new _Ejb3Configuration_ instance (which create a _Configuration_ internally, loads hibernate.properties and system properties)
> but then in second call, getConfig() method loads hibernate.properties again, this may load some system properties used to override default one in hibernate.properties

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list