]
Juraci Paixao Krohling commented on EJB-433:
--------------------------------------------
After talking to Emmanuel (who wrote the test case), the right approach is to call
getProperties in the test case.
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: