Hibernate.hbm2ddl.auto = create no cleanup for existing data
<property name="hibernate.hbm2ddl.auto" value="create" />
in my persistence.xml for my integration test, and when I run the integration test I get
ERROR SchemaExport:386 - Unsuccessful: create table tableName ... ERROR SchemaExport:387 - Table 'tableName' already exists
but not hbm2ddl.auto = create Is it supposed to replace the table if it already exists? Why should I get this error?
BTW this worked as expected last week, so I am really confused as to why I am suddenly getting this error.
source to share