I receive following error when I save the object using Hibernate
object references an unsaved transient instance - save the transient instance before flushi
There is another possibility that can cause this error in hibernate. You may set an unsaved reference of your object A to an attached entity B and want to persist object C. Even in this case, you will get the aforementioned error.
A
B
C