Freeman,
Thanks for your help. I've upgraded to Hibernate 4.2.7.SP1.
I have Camel-JPA working now. In order to eliminate the NoClassDefFoundError
exceptions, I added the missing packages to the Import-Package element in
pom.xml as shown below.
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-ClassPath>.,{maven-dependencies}</Bundle-ClassPath>
<Import-Package>*,org.hibernate,org.hibernate.ejb,org.hibernate.ejb.connection,javax.sql,javax.persistence.criteria</Import-Package>
</instructions>
</configuration>
</plugin>
Regards,
Scott
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Camel-JPA-with-Hibernate-tp5718305p5718322.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.