This discussion is archived
1 Reply Latest reply: Jan 4, 2013 6:33 AM by cdelahun RSS

How do I discover which version of JPA is being supported by WebLogic

969358 Newbie
Currently Being Moderated
The WebLogic version I have been using is With the purpose to use JPA2 instead of JPA1, I followed the guide which tells to manually set this by adding these lines to commEnv.cmd (Programming Enterprise JavaBeans, Version 3.0, for Oracle WebLogic Server 11g Release 1 10.3.6):

set wls_modules=C:\Oracle\Middleware\modules
set PRE_CLASSPATH=%wls_modules%\javax.persistence_1.0.0.0_1-0-2.jar;%wls_modules%\

Then, I changed from Kodo to TopLink on WebLogic console.

Suddenly, I read "Java EE 6 support arrived in WebLogic on 15 Jan 2011" (

I am asking myself if WebLogic 10.3.6 is already setted to use JPA2 by default. It would be easily answered if I knew how to see which JPA, JTA, EJB or wherever configuration version are set when the server is started. Where can I look for this information?
  • 1. Re: How do I discover which version of JPA is being supported by WebLogic
    cdelahun Pro
    Currently Being Moderated
    My understanding is that the situation in WebLogic 10.3.6 is entirely the same as in prior versions - it ships with the JPA 2.0 jars but they are not enabled by default so that it can meet Java EE 5 compatibility requirements. This is mentioned in the docs you may have seen here:
    and the docs from 10.3.5 here:

    The link you referenced does not say WebLogic 10.3.4 is Java EE 6 compatible. The reference I believe you got this from is stating that the is included for future Java EE 6 compatibility, but is not enabled in 11.3.x so that it remains Java EE 5 compatible. It basically ships a preview of Java EE 6 components that are not enabled - Only WebLogic 12c is fully Java 6 EE compatible by default, which includes JPA 2.0.

    Best Regards,


  • Correct Answers - 10 points
  • Helpful Answers - 5 points