Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: baffbc0aae64d7cca421540b1b79e1b608557fbb
https://github.com/hibernate/hibernate-orm/commit/baffbc0aae64d7cca421540...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-10 (Sat, 10 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/EnumJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JavaType.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/enums/EnumTypeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/schematools/EnumCheckTests.java
Log Message:
-----------
reenable check constraings on enum columns, and use MySQL enum column types
MySQL doesn't have real check constraints, but it does have something just as good for
this special case