Enum Mapping in Hibernate 7: The ORDINAL Trap, STRING, PostgreSQL Native Enums and Converters
Hibernate 7.4 enum mapping tested on PostgreSQL 18 and H2: what ORDINAL, STRING, native enum types, converters and @EnumeratedValue store, what a second release reads after a constant is inserted or renamed, why the generated check constraint blocks the new value, why hbm2ddl=update does not fix it, and the migration each change needs.