|
HHH-9564 occurs in our tests if the following libraries are included in the ear lib directory (they are no longer present in glassfish domain lib).
antlr-2.7.7.jar dom4j-1.6.1.jar ehcache-core-2.4.3.jar hibernate-commons-annotations-4.0.5.Final.jar hibernate-core-4.3.8.Final.jar hibernate-ehcache-4.3.8.Final.jar hibernate-entitymanager-4.3.8.Final.jar hibernate-jpa-2.1-api-1.0.0.Final.jar jandex-1.1.0.Final.jar javassist-3.18.1-GA.jar jboss-logging-3.1.3.GA.jar jboss-logging-annotations-1.2.0.Beta1.jar jboss-transaction-api_1.2_spec-1.0.0.Final.jar slf4j-api-1.6.1.jar
As a further note, if we move just dom4j from ear lib to domain lib we get "org.hibernate.id.MultipleHiLoPerTableGenerator cannot be cast to org.hibernate.id.IdentifierGenerator". Both classes are just in hibernate-core-4.3.8.Final.jar in the ear lib, but the debug shoes different EarLibClassLoader instances.
|