Hello guys i have a question and answer entity i create oneTomany mapping relationship between them but when i save question to database answer also added without foreign key question id
Hello guys i have a question and answer entity i create oneTomany mapping relationship between them but when i save question to database answer also added without foreign key question id
you have to fill question id after question persist and before answer persist