Joined: Thu Dec 18, 2008 1:40 pm Posts: 8
|
Hi,
We are transforming all native JDBC based database transaction calls into Hibernate. The existing web application uses Alfresco based Content Management web tool. The version of Alfresco we are using itself uses Hibernate 3.2.1. For our custom backend java code we were told we cannot use any higher version of Hibernate. Is it true there could be conflict between Hibernate sessions where the Alfresco app is using the older version and our code using a higher version of Hibernate? We do not have problem using a higher version of Hibernate 3.5. But using the Hibernate 3.2.1 jars running into errors in running a simple test application. Here's part of the error I am getting - Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47) at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
This is list of jars I have -
asm-all-2.2.3.jar asm-util-3.1.jar cglib-asm.jar asm-commons-3.1.jar cglib-2.2.jar antlr-2.7.6.jar dom4j-1.6.1.jar commons-collections-3.1.jar commons-logging-1.1.1.jar ejb3-persistence.jar hibernate-3.2.1.jar log4j.jar ojdbc14.jar slf4j-1.5.0.jar slf4j-api-1.5.8.jar slf4j-log4j12.jar hibernate-annotations.jar hibernate-commons-annotations.jar javassist-3.9.0.GA.jar jta-1.1.jar
Not sure if have any which could create conflict or may be redundant.
Thanks
|
|