entityClass is not a parameter anymore