[hibernate-dev] Mapping JPA's @MapKeyEnumerated and @Enumerated on native-enum supporting datastores

Davide D'Alto daltodavide at gmail.com
Fri Aug 26 07:04:30 EDT 2016

> How about having a custom @Enumerated annotation which offers NATIVE as an
> additional choice?

This is probably the approach I would prefer, it seems consistent with
what we already do with Hibernate Annotations.

For example, org.hibernate.annotations.Table and javax.persistence.Table.

Could it be useful for ORM as well?

More information about the hibernate-dev mailing list