Page 1 of 1

broadleaf-common and hibernate

Posted: Wed Feb 27, 2013 9:35 pm
by abiieez
Hi guys,

I have an existing application with pom.xml. One of the dependencies in my pom file is hibernate-core 4.1.7.Final. Then I added broadleaf-common dependency, however in the end I am unable to use @Valid annotation in my code due to the class not found exception org.hibernate.intercept.FieldInterceptionHelper.

I notice that broadleaf-common depends on hibernate-core (perhaps the older version). My question is do I have to remove my 4.1.7.Final hibernate-core from the file ? Is there any other way to solve this ?

Thanks

Re: broadleaf-common and hibernate

Posted: Fri Mar 08, 2013 1:06 pm
by jefffischer
Broadleaf is currently not compatible with Hibernate 4. We are working on this and are planning to incorporate it soon to support some new features, but there is no available version that you can use now. You would have to remove your dependency on Hibernate 4 for the time being.