org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: test.Bottom.middle -> test.Middle

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Carl-Eric Menzel, 1 year ago
object references an unsaved transient instance - save the transient instance before flushing: test.Bottom.middle -> test.Middle
via Hibernate JIRA by Carl-Eric Menzel, 1 year ago
object references an unsaved transient instance - save the transient instance before flushing: test.Bottom.middle -> test.Middle
via Stack Overflow by Ben
, 2 years ago
object references an unsaved transient instance - save the transient instance before flushing: EntityB.entityA -> EntityA
via Stack Overflow by user725455
, 2 years ago
object references an unsaved transient instance - save the transient instance before flushing: com.siemens.siguard.server.persistence.ejb.ResultGraphPoint.resultGraph -> com.siemens.siguard.server.persistence.ejb.ResultGraph
via sourceforge.net by Unknown author, 1 year ago
object references an unsaved transient instance - save the transient instance before flushing: ru.arptek.arpsite.data.manytoonelazy.BeanA.parent -> ru.arptek.arpsite.data.manytoonelazy.BeanB
via https://bugzilla.redhat.com/bugzilla/ by Jay Shaughnessy, 1 year ago
object references an unsaved transient instance - save the transient instance before flushing: org.rhq.core.domain.resource.ResourceType.subCategory -> org.rhq.core.domain.resource.ResourceSubCategory
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: test.Bottom.middle -> test.Middle
at org.hibernate.engine.CascadingAction$9.noCascade(CascadingAction.java:376)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.