org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: Country1

Terracotta | girish_k | 5 years ago
  1. 0

    org.hibernate.TransientObjectException

    Terracotta | 5 years ago | girish_k
    org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: Country1
  2. 0

    org.hibernate.TransientObjectException during Criteria.list()

    Stack Overflow | 7 years ago | rancidfishbreath
    org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: B
  3. 0

    Internal Error on clickingNew and on Workspac

    j-trac | 9 years ago | harikumar123
    org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component \[MarkupContainer \[Component id = form, page = info.jtrac.wicket.SpaceFieldOptionPage, path = 26:form.SpaceFieldOptionPage$SpaceFieldOptionForm, isVisible = true, isVersioned = true\]\] threw an exception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Internal Error on deleting field

    j-trac | 9 years ago | nobody
    org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component \[MarkupContainer \[Component id = form, page = info.jtrac.wicket.SpaceFieldOptionPage, path = 8:form.SpaceFieldOptionPage$SpaceFieldOptionForm, isVisible = true, isVersioned = true\]\] threw an exception
  6. 0

    Hibernate Exception - Transient Object Exception

    Stack Overflow | 4 years ago
    org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: ca.ups.tle.sortCode.SortCode

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.TransientObjectException

      object references an unsaved transient instance - save the transient instance before flushing: Country1

      at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved()
    2. Hibernate
      CriteriaLoader.list
      1. org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:219)
      2. org.hibernate.type.ManyToOneType.disassemble(ManyToOneType.java:163)
      3. org.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:80)
      4. org.hibernate.loader.Loader.putResultInQueryCache(Loader.java:2194)
      5. org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2138)
      6. org.hibernate.loader.Loader.list(Loader.java:2096)
      7. org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
      7 frames
    3. Hibernate
      CriteriaImpl.list
      1. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
      2. org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
      2 frames
    4. com.wakaleo.articles
      CountryDAOTest.main
      1. com.wakaleo.articles.caching.dao.CountryDAO.getCountries(CountryDAO.java:32)
      2. com.wakaleo.articles.caching.dao.CountryDAOTest.testGetCountries(CountryDAOTest.java:35)
      3. com.wakaleo.articles.caching.dao.CountryDAOTest.main(CountryDAOTest.java:91)
      3 frames