JBoss and different versions of Hibernate
We are using JBoss 4.2.3 which in turn comes with version 3.2.1.ga of Hibernate. I would like to use Hibernate 3.5.1-FINAL which supports JPA 2.0. I've been trying to make this work by putting my own hibernate jars in my WEB-INF/lib folder and creating my own classloader for my WAR in jboss-web.xml <jboss-web> <loader-repository> com.moo.foo:archive=catalog-archive </loader-repository> </jboss-web> I've also tried: <jboss-web> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> com.moo.catalog:loader=catalogLoader <loader-repository-config>java2ParentDelegation=false<