1 2 3 Previous Next 31 Replies Latest reply on Aug 3, 2011 11:14 PM by jaikiran Go to original post
      • 30. Re: Trying to use Envers with AS-provided Hibernate
        adamw

        Ah! I didn't figure out that the dependencies declaration in my deployment affect inter-module interaction. But obviously they do. So now I managed to create an Envers module, and with a Dependencies: org.hibernate.envers services in my manifest, it works.

         

        I had to add the following deps to the module.xml:

         

            <module name="org.hibernate"/>

            <module name="org.jboss.logging"/>

            <module name="org.dom4j"/>

            <module name="javax.api"/>

            <module name="javax.persistence.api"/>

            <module name="javax.transaction.api"/>

            <module name="org.javassist"/>

         

        So it would seem the dependencies are not transitive as all of them are already declared by org.hibernate

         

        Thanks for the help!

         

        Adam

        • 31. Re: Trying to use Envers with AS-provided Hibernate
          jaikiran

          Adam Warski wrote:

           

          So it would seem the dependencies are not transitive as all of them are already declared by org.hibernate

           

          That's correct. Unless explicitly configured through the "export" attribute, the dependencies are  not  transitive.

          1 2 3 Previous Next