Hi All, I am getting exception object references an unsaved transient instance - save the transient instance before flushing:
I have an object A with many-to-one mapping with object B CASE I insert="false" update="false" lazy="false" not-found="ignore"
Now i am trying to save the object A with a reference of B which does not exist. Getting the above mentioned exception. As per the Mapping reference i had an impression that with insert="false" update="false" not going to and update/insert DDL for object B.
CASE II insert="false" update="false" lazy="false" not-found="exception" Change to above mapping not getting any such exception on Save object A
Can anybody please explain? Thanks, Saikat
|