The original message got all mixed up, so putting it up again:

Hi , I am trying to run the example on camel hibernate from camel-extra
source on code.google, I got the code from trunk. The camel-context.xml is
using hibernat4 for transaction manager and session factory,

*<bean id="transactionManager"
class="org.springframework.orm.hibernate4.HibernateTransactionManager">*

*<bean id="sessionFactory"
class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">*

while camel-hibernate latest component (2.10.1) depends on hibernate
3.6.10.final as depicted in the dependency graph below. So I get method not
found exceptions. Am I missing something? or Should I change the
camel-context to use earlier versions of hibernate


The following files have been resolved:
[INFO]    antlr:antlr:jar:2.7.6:compile
[INFO]    aopalliance:aopalliance:jar:1.0:compile
[INFO]    commons-collections:commons-collections:jar:3.1:compile
[INFO]    commons-dbcp:commons-dbcp:jar:1.4:compile
[INFO]    commons-logging:commons-logging:jar:1.1.1:compile
[INFO]    commons-pool:commons-pool:jar:1.5.4:compile
[INFO]    dom4j:dom4j:jar:1.6.1:compile
[INFO]    javax.transaction:jta:jar:1.1:compile
[INFO]    log4j:log4j:jar:1.2.17:compile
[INFO]    org.apache-extras.camel-extra:camel-hibernate:jar:2.10.1:compile
[INFO]    org.apache.camel:camel-core:jar:2.10.1:compile
[INFO]    org.apache.camel:camel-spring:jar:2.10.1:compile
[INFO]    org.apache.derby:derby:jar:10.9.1.0:compile
[INFO]   
org.apache.servicemix.bundles:org.apache.servicemix.bundles.javassist:jar:3.12.1.GA_3:compile
[INFO]   
org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
[INFO] *   org.hibernate:hibernate-core:jar:3.6.10.Final:compile*
[INFO]   
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile
[INFO]    org.slf4j:slf4j-api:jar:1.7.5:compile
[INFO]    org.slf4j:slf4j-log4j12:jar:1.7.5:compile
[INFO]    org.springframework:spring-aop:jar:3.0.7.RELEASE:compile
[INFO]    org.springframework:spring-asm:jar:3.0.7.RELEASE:compile
[INFO]    org.springframework:spring-beans:jar:3.2.0.RELEASE:compile
[INFO]    org.springframework:spring-context:jar:3.0.7.RELEASE:compile
[INFO]    org.springframework:spring-core:jar:3.2.0.RELEASE:compile
[INFO]    org.springframework:spring-expression:jar:3.0.7.RELEASE:compile
[INFO]    org.springframework:spring-jdbc:jar:3.2.0.RELEASE:compile
[INFO]    org.springframework:spring-orm:jar:3.2.0.RELEASE:compile
[INFO]    org.springframework:spring-tx:jar:3.2.0.RELEASE:compile





--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-hibernate-example-problem-tp5731769p5731770.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to