object references an unsaved transient instance : save the transient instance before flushing
How to fix the Hibernate "object references an unsaved transient instance - save the transient instance before flushing" error