| When using H2 I've no problems with attributes like this: {{@Id @GeneratedValue private UUID id;}} However, after switching to MySQL, I observed the following:
- The generated column type is BINARY(255)
- The generated WHERE clause for EntityManager.find(Class, UUID) is, e.g.:
WHERE id = '12345678-1234-1234-1234-123456789012' instead of WHERE id = '12345678123412341234123456789012', i.e. without - I also tried to replace Hibernate 5.0.7 inside WildFly by 5.1.0 and 5.0.8, but got the same issue. |