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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content