org.hibernate.TransientPropertyValueException

Not-null property references a transient value - transient instance must be saved before current operation : cz.cuni.mff.ufal.lindat.utilities.hibernate.LicenseFileDownloadStatistic.userRegistration -> cz.cuni.mff.ufal.lindat.utilities.hibernate.UserRegistration

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web38

  • Not-null property references a transient value - transient instance must be saved before current operation : cz.cuni.mff.ufal.lindat.utilities.hibernate.LicenseFileDownloadStatistic.userRegistration -> cz.cuni.mff.ufal.lindat.utilities.hibernate.UserRegistration
  • Not-null property references a transient value - transient instance must be saved before current operation : com.angelo.springmvc.model.PrestitoLibro.prestito -> com.angelo.springmvc.model.Prestito
  • Not-null property references a transient value - transient instance must be saved before current operation: entity.NewEntity.ne3 -> entity.NewEntity3
  • Stack trace

    • org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : cz.cuni.mff.ufal.lindat.utilities.hibernate.LicenseFileDownloadStatistic.userRegistration -> cz.cuni.mff.ufal.lindat.utilities.hibernate.UserRegistration at org.hibernate.action.internal.UnresolvedEntityInsertActions.checkNoUnresolvedActionsAfterOperation(UnresolvedEntityInsertActions.java:123) at org.hibernate.engine.spi.ActionQueue.checkNoUnresolvedActionsAfterOperation(ActionQueue.java:392) at org.hibernate.internal.SessionImpl.checkNoUnresolvedActionsAfterOperation(SessionImpl.java:618) at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:776) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:747) at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:752) at cz.cuni.mff.ufal.lindat.utilities.hibernate.HibernateUtil.persist(HibernateUtil.java:140) at cz.cuni.mff.ufal.lindat.utilities.HibernateFunctionalityManager.updateFileDownloadStatistics(HibernateFunctionalityManager.java:296) at cz.cuni.mff.ufal.DSpaceApi.updateFileDownloadStatistics(DSpaceApi.java:174) at org.dspace.app.xmlui.cocoon.BitstreamReader.generate(BitstreamReader.java:705) at sun.reflect.GeneratedMethodAccessor308.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    5 more bugmates