MySQL is treating enum column type as SQL type 1 (CHAR). When schema is validated method org.hibernate.dialect.Dialect#equivalentTypes is returning false because it is using org.hibernate.type.SqlTypes#isVarcharType which is returning false for 1 (CHAR). Suggested fix is to use less strict method org.hibernate.type.SqlTypes#isCharacterType which will accept VARCHAR and CHAR as equivalent types. Alternatively, use of isCharacterType instead of isVarcharType can be pushed down to MySqlDialect. Suggested fix is in pull request 6462 |