Natural IDs generating duplicate UK_* index

Description

my application set hibernate.hbm2ddl.auto=update,hibernate will create UK_* everytime when starting application.
I think hibernate must check if index exists before create a new one,index name should not generate by random,I suggest use md5(column_name),so everytime the index name will be the same,so you can use create index if not exists.

Environment

JDK7 mysql-5.6.10-win32 mysql-connector-java-5.1.24

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