JPA hbm2ddl auto-generation creates ddl with invalid syntax for Unique Key with any MySQLDialect

Description

MySQL version - 5.7.15
Hibernate version - hibernate-core | 5.2.3.Final
Implementation - JPA 2.1

persistence.xml file

During startup it generates following error in the logs

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Binoy Shah

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure