java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: es.sermepa.sisammt.modelo.Ties1.tics2 -> es.sermepa.sisammt.modelo.Tics2

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openxava by sfdors
, 1 year ago
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: es.sermepa.sisammt.modelo.Ties1.tics2 -> es.sermepa.sisammt.modelo.Tics2
via Stack Overflow by jagr
, 2 years ago
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: es.caib.biocides.persistence.Municipio.sector -> es.caib.biocides.persistence.Sector
via com.br by Unknown author, 1 year ago
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: br.jus.jfba.saaf.vo.TabelaRetencao
via https://bugzilla.redhat.com/bugzilla/ by Jay Shaughnessy, 1 year ago
org.hibernate.TransientObjectException: 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
java.lang.IllegalStateException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: es.sermepa.sisammt.modelo.Ties1.tics2 -> es.sermepa.sisammt.modelo.Tics2
at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:627)
at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:300)
at org.openxava.model.impl.JPAPersistenceProvider.flush(JPAPersistenceProvider.java:69)
at org.openxava.model.impl.MapFacadeBean.commitTransaction(MapFacadeBean.java:74)
at org.openxava.model.impl.MapFacadeBean.createAggregate(MapFacadeBean.java:291)
at org.openxava.model.MapFacade.createAggregate(MapFacade.java:171)
at org.openxava.actions.SaveElementInCollectionAction.createAggregate(SaveElementInCollectionAction.java:110)
at org.openxava.actions.SaveElementInCollectionAction.saveAggregate(SaveElementInCollectionAction.java:102)
at org.openxava.actions.SaveElementInCollectionAction.execute(SaveElementInCollectionAction.java:33)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:326)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:252)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:218)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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