Fixing N-1 relations on a bean