JPA entity class enhancement may not occur for sub-deployments in EAP 6
Issue
- Entity classes are included in a sub-deployment which is referenced by other sub-deployments
- Entity class enhancement1 sometimes fails to be done
- Encountering the following when using EclipseLink 2
Reverting the lazy setting on the OneToOne or ManyToOne attribute [organization] for the entity class [class test.User] since weaving was not enabled or did not occur.
-
For Hibernate entities, the property
hibernate.ejb.use_class_enhanceris set ↩
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
- JPA
- Hibernate 4
- EclipseLink
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
