I am trying to delete an entity from a collection. For some reason I get the following error:
Illegal attempt to associate a collection with two open sessions.
@In(create = true, value = "napEntityManager") EntityManager em;
@PersistenceContext(type=PersistenceContextType.EXTENDED) private EntityManager em;
@In(required = false, scope=ScopeType.SESSION) private PortalUser portalUser;