Im having this problem where I have 2 entities connected by foreign key.
Entity A: id, idOfEntityB, fields... Entity B: id, fields...
I save both of them