support for one_to_one and many_to_one associations