I receive following error when I save the object using Hibernate
object references an unsaved transient instance - save the transient instance before flushi
For the sake of completeness: A
org.hibernate.TransientPropertyValueException
with message
object references an unsaved transient instance - save the transient instance before flushing
will also occur when you try to persist / merge an entity with a reference to another entity which happens to be detached.