|
Hi Christian Beikov
The test you provided assumes that
"javax.persistence.schema-generation.database.action", "drop-and-create"
and
"hibernate.hbm2ddl.auto", "create-drop"
work in the same way.
But if I'm not wrong the jpa drop-create should just drop and then create the schema, so at the end of the session, the schema is not destroyed while the hbm should create and then destroy the schema at the end of the session.
|