#13 Alter validation logic for the change of oneToMany and manyToOne annotation.