net.sf.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: edu.unc.hibernate.Name

Hibernate JIRA | Simon Spero | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. net.sf.hibernate.TransientObjectException

      object references an unsaved transient instance - save the transient instance before flushing: edu.unc.hibernate.Name

      at net.sf.hibernate.impl.SessionImpl.throwTransientObjectException()
    2. net.sf.hibernate
      SessionImpl.executeInserts
      1. net.sf.hibernate.impl.SessionImpl.throwTransientObjectException(SessionImpl.java:2786)
      2. net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(SessionImpl.java:2778)
      3. net.sf.hibernate.type.ManyToOneType.disassemble(ManyToOneType.java:93)
      4. net.sf.hibernate.impl.CacheEntry.disassemble(CacheEntry.java:38)
      5. net.sf.hibernate.impl.CacheEntry.<init>(CacheEntry.java:29)
      6. net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:41)
      7. net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2436)
      8. net.sf.hibernate.impl.SessionImpl.executeInserts(SessionImpl.java:2328)
      8 frames