Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] FW: Eclipselink 2 / JPA 2 with WebLogic 10.3.3

Michael,

                Hi, there is a section linked from

http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#JSR-317_JPA_2.0_Support

                to

http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-_In_Use

                that covers 10.3.3 – primarily through the <prefer-application-packages> classloader order workaround.  The WebLogic Server 10.3.4.0/10.3.5.0 release deprecates these instructions.

                If you read through the page above you will see that injection of a full container managed JPA 2.0  @PersistenceContext entityManager may have issues in the past  (JPA 1.0 injection is fine) – until 10.3.4.0 – where the AOP injection framework in WebLogic was updated to work with the 2.0 providers.  Regardless, you are able to use the JPA 2.0 API at runtime however even if you use a 1.0 schema.

                Currently even in 10.3.5 JPA 1.0 is still enabled by default – there are several ways enable JPA 2.0 – one way of which is via the OEPE plugin for Eclipse at design time.  After you enable JPA 2.0 – full JPA 2.0 injection in the EJB container is possible.

 

                I am posting to the EclipseLink Users newsgroup to widen the audience and responses.

                If you follow the 7 instructions in design issue 1.1 Alternative 3 above – you will have one possible workaround for the 10.3.3 specific issue

 

                What problems are you seeing? Are you having runtime issues with @PersistenceContext CDI injection or using the 2.0 schema in your XSD during deployment?

 

                Thank you

                /Michael O’Brien

 

From: Michael Gitelman

Date: Tue, 7 Feb 2012 13:22:36 -0500

To: michael.f.obrien eclipselink org

Subject: Eclipselink 2 / JPA 2 with WebLogic 10.3.3

 

Hi Michael,

 

I read your tutorial on EclipseLink /Development / JPA 2.0 / Weblogic. Unfortunately, I couldn’t find the information on how it works with WL 10.3.3. Unfortunately, I am stuck with that release for another year and need to make it work with JPA 2 / Eclipselink 2.2. However, everywhere I look I find references for 10.3.3 instructions but not the instructions themselves. Could you help me out to find a document specific to 10.3.3?

 

 

Best regards,

 

Michael Gitelman


Back to the top