How to integrate EclipseLink in EAP 6 ?

Solution Verified - Updated -

Issue

  • How to use Eclipselink as JPA provider in EAP 6?
  • How to configure static weaving in Eclipselink?
  • Why I'm getting following warning messge while using lazy loading in Eclipselink? The annotation FetchType.LAZY seems to be getting ignored.
11:50:32,478 WARN  [org.eclipse.persistence.metadata] (http-localhost/127.0.0.1:8088-1) Reverting the lazy setting on the OneToOne or ManyToOne attribute [xyz] for the entity class [class com.test.MyEntity] since weaving was not enabled or did not occur.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
  • Eclipselink
    • 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.