3 Replies Latest reply on Mar 18, 2016 3:08 PM by sanjay05222

    JPA 2.1 in JBoss 7

    sdyarnell

      I would like to completely replace the JPA 2.0 module in JBoss 7.1 with a JPA 2.1 module so that I can use Hibernate 4.3.5. I have not seen anyone actually taking this route around the internet.

       

       

      If I simply go about replacing JBoss 7 jars with Wildfly jars, I run into a class version error.

       

       

      As of now, I am assuming that I will have to remove all Java 1.7 code from the modules I need, compile them with 1.6, and replace the JBoss 7 modules appropriately. Even then, I am not positive that this will work.

       

       

      If you know whether or not this will or will not work, do inform. If you know a better alternative that STILL ALLOWS container managed transactions, do inform.

       

       

      If you have advice or help you would like to share, please do.

       

       

      Thanks for the help.

        • 1. Re: JPA 2.1 in JBoss 7
          sanjay05222

          any luck on this problem ?

          • 2. Re: JPA 2.1 in JBoss 7
            ctomc

            SANJAY GAUTAM wrote:

             

            any luck on this problem ?

            yeah upgrade to WildFly 8, which comes with newer JPA support

            • 3. Re: JPA 2.1 in JBoss 7
              sanjay05222

              Tomaz Cerar wrote:

               

              SANJAY GAUTAM wrote:

               

              any luck on this problem ?

              yeah upgrade to WildFly 8, which comes with newer JPA support

               

              First off all i would like to thank you for responding back

              I want to  little help actually Spring-boot version is 1.3.3. and Hibernate version resolved is 4.3.5 and higher , I would like to know if there is anyway I can run this war in JBOSS AS 7.1.1 version , by creating and adding the separate modules for JPA 2.1 ? or it is not the right approach . this new discussion is exactly what I am trying to solve Spirng Boot and Jboss As 7.1.1 JPA2.0