[hibernate-issues] [Hibernate-JIRA] Created: (EJB-433) Test ProgrammaticConfTest fails due to lack of "create-drop"

Juraci Paixao Krohling (JIRA) noreply at atlassian.com
Mon Apr 27 06:57:17 EDT 2009


Test ProgrammaticConfTest fails due to lack of "create-drop"
------------------------------------------------------------

                 Key: EJB-433
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-433
             Project: Hibernate Entity Manager
          Issue Type: Bug
    Affects Versions: 3.3.3, 3.5
            Reporter: Juraci Paixao Krohling
            Assignee: Juraci Paixao Krohling
             Fix For: 3.3.3, 3.5


The test ProgrammaticConfTest needs the property hibernate.hbm2ddl.auto to be set as create-drop, to create the tables before running the test. 

Most of the tests in EntityManager extends a test case which automatically sets this property. The test ProgrammaticConfTest also contains a method which explicitly sets this property, but this method is not being called. 

Either this test needs to call the getProperties() or the hibernate.properties must contain the property. In the branch v3_4_0_GA_CP, this property is set in the template of hibernate.properties. 

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