Use the right objectManager for AssociationType (entityManager)