Reimplement support for enums in a sane way #6233
Replies: 3 comments 1 reply
-
Related: HHH-16125 , #6232 |
Beta Was this translation helpful? Give feedback.
-
This is now fixed. @sebersole got rid of the The real work is now handled by |
Beta Was this translation helpful? Give feedback.
-
Sorry to post a question in closed discussion. |
Beta Was this translation helpful? Give feedback.
-
The implementation of enum support in Hibernate involves a
UserType
and twoBasicValueConverter
s. This was never a very sensible way to do it, and dates back, I assume, to the time when Hibernate Annotations and Hibernate EntityManager were separate projects.This is extremely painful to deal with in general, and in particular it makes it almost impossible to implement support for PostgreSQL
enum
types.We need to fix this.
Beta Was this translation helpful? Give feedback.
All reactions