Page 1 of 1

org.broadleafcommerMergePersistenceUnitManager not compiling

Posted: Fri Apr 27, 2012 11:11 am
by meifullerton
Hi,
I downloaded 1.5 source code, and org.broadleafcommerMergePersistenceUnitManager class does not compile. It references org.springframework.orm.jpa.persistenceunit.Jpa2PersistenceUnitInfoDecorator class which is private.
Any insights?

thanks

Re: org.broadleafcommerMergePersistenceUnitManager not compiling

Posted: Tue May 01, 2012 3:43 pm
by meifullerton
I found out that broadleaf packaged the source code for org.springframework.orm.jpa.persistenceunit.Jpa2PersistenceUnitInfoDecorator, using this code instead of what in spring jar file, it worked. It seemed odd though.

Re: org.broadleafcommerMergePersistenceUnitManager not compiling

Posted: Mon May 07, 2012 1:58 pm
by bpolster
Glad you found the answer.

In order for Broadleaf Commerce to allow users of the framework to customize the domain, we've had to extend or replace a few classes such as the one you found in your post.