Thank you for your replying, I had been tried your solution but it made me in trouble, when I leave FK field blank (null)and set cascade=PERSIST, when it persist,it will persist a row with all column value (except id) fill with null for other side of relationship.