Please generate consistent name when create or recreate Unique Key

Description

I am using hibernate.hbm2ddl.auto=update in production environment,hibernate will generate a random name for every unique key,it will cerate a new unique key everytime when application started,It's stupid and break compatibility with previous version.please use UK_md5hex(column1[,column2[,column3...]]) as the key name,so the hibernate.schema_update.unique_constraint_strategy = RECREATE_QUIETLY will be the same behaviour as "create if not exists".

Environment

Assignee

Unassigned

Reporter

周雁鸣

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Blocker
Configure