BroadleafCommerce/BroadleafCommerce — pull request #33 by munnja001 (2013-03-08 21:11:30+00:00)
Title: removed cascading when persisting CustomerRole

The case where cascading CustomerRole causes an issue is when you try to programmatically remove CustomerRoles. This causes the delete to attempt to also delete the Role associate with the CustomerRole. In most BLC implementations, this doesn't cause an issue because BLC doesn't programmatically manage CustomerRoles beyond adding the basic role. I decided to remove cascading completely, because neither Customer nor Role have a reason to be updated when a CustomerRole is added or deleted.