The WebLogic version I have been using is 10.3.6.0. 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):
Then, I changed from Kodo to TopLink on WebLogic console.
Suddenly, I read "Java EE 6 support arrived in WebLogic 10.3.4.0 on 15 Jan 2011" (http://dev.eclipse.org/mhonarc/lists/eclipselink-users/msg06874.html).
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?
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: http://docs.oracle.com/cd/E23943_01/web.1111/e13852/toc.htm#BGGBIJBI
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 com.oracle.jpa2support_220.127.116.11_2-0.jar 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.