@ManyToMany,Cascade为All时,save报detached entity passed to persist
问题描述publicclassEditPrivilegeextendsEntityId{@ManyToMany(fetch=FetchType.LAZY,cascade=CascadeType.ALL)@JoinTable(name=REL_EDITPRIVILEGE_ROLE)privateSeteditableRoles=newHashSet*Ifassumedisnon-null,don't