For now I have project with two entities: Account and Profile, with relation one-to-many – one account can have multiple profiles. For now I have several instances of accounts and profiles, some of accounts have several profiles.
I want to know what would happen with those profiles, which are bounded to same account if I change relation to bidirectional one-to-one.
UPD:
I changed, and for some reason all profiles are present and bounded to account. I was expecting, that there will be left only one profile to one account.
Please explain why 🙁
Ivan Markhaichuk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.