-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug
Description
Either javax.persistence.schema-generation.database.action
or hibernate.hbm2ddl.auto
can be used to control schema creation when using Hibernate, with the latter property taking precedence over the former.
When HibernateDefaultDdlAutoProvider
determines that the default should be create-drop
, hibernate.hbm2ddl.auto
is set with that value. Due to the Hibernate property taking precedence, if the user has set javax.persistence.schema-generation.database.action
it is now ignored.
When checking for a user-provided setting before configuring the default setting, I think we need to consider javax.persistence.schema-generation.database.action
as well as hibernate.hbm2ddl.auto
.
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug