We have Spring based application which is based on Hibernate 4.3.5 (JPA 2.1).
I know that EAP 6.3.0 is JPA 2.0 compatible, but is there any possibility to run application with JPA 2.1?
I've used this jboss-deployment-structure.xml:
<path name="com/sun/net/httpserver" />
<module name="javax.persistence.api" />
<module name="org.hibernate" />
and I've changed standalone xml to disable jpa subsystem.
I've also changed modules/system/layers/base/javaee/api/main/module.xml to do not export jpa:
<module name="javax.persistence.api" export="false"/>
I've tried also to update javax.persistence and org.hibernate modules to newer versions, but without luck - it seems that a lot of JBoss module use these modules.
Does anybody have an idea what can be done?
Known alternatives are: using JPA 2.0 or trying disabling whole Java EE stack (gives other problems).
JPA 2.1 is not part of JEE 6. It is part of JEE 7. You will need a JEE 7 compliant app server to run it. So it is not possible.
Retrieving data ...