I've followed the AppFuse QuickStart guide with modular and full source options selected. When I issue an
mvn install -Poracle
testUpdateUser throws a ...
.hibernate4.HibernateSystemException: Found shared references to a collection...model.User.roles
I understand that this is because the test code tries this (that's not permitted by Hibernate..)
user2.setRoles(user.getRoles());
What's the proper way to test updateUser, then?