0 Replies Latest reply on Oct 18, 2013 11:36 AM by sergiu_pienar

    Excluding Hibernate 4 from JBoss 7.1.1 Final

    sergiu_pienar

      I have an app packaged in an .EAR ... inside I have some WAR's that use Hibernate 3.6.9.

      My app is not using JPA but instead is configured using hibernate.properties and hibernate.cfg.xml files.

       

      How can I exclude the default Hibernate 4 provided with JBoss 7.1.1 Final and use instead the Hibernate provided in the EAR ?

       

      Switching to JPA is not an option (management issues).

      Thanks