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

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


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