If it's toMany relation you have to use reflection, you cannot rely on BaseEntity returning arrays for collections.