This would not solve your use case as a relation is likely to give you a PersistentCollection, not an ArrayCollection