Is there any way to stop hibernate from checking if i'm saving a object that references an instance that isn't saved yet?Quote:
I keep getting the following error: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before merging
I'm working on a backup/restore routine that uses hibernate, before the restore, all database constraints are disabled, but hibernate keeps checking if all the referenced instances are saved before persisting the object.
Any ideas?
Thanks in advance.