We need a fix for Hibernate issue HHH-4257
Issue
-
I've got a collection of elements. Both the key and value in this case are enum classes. The key seems to be the problem here. The first error I get is that getBytes() cannot be applied to an integer field (the db schema has an integer, as was used in previous versions of Hibernate).
@CollectionOfElements(fetch = FetchType.EAGER) private Map<SomeEnum, SomeOtherEnum> someMap; -
We need a fix for http://opensource.atlassian.com/projects/hibernate/browse/HHH-4257
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3_CP07
- JBoss Hibernate (Included in the EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.