javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: org.openxava.tumimed.model.Banco

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

,
via Stack Overflow by Will Keeling

Check your annotations to use the proper table and column names.

Solutions on the web

via openxava by jcjava
, 1 year ago
org.hibernate.PersistentObjectException: detached entity passed to persist: org.openxava.tumimed.model.Banco
via Stack Overflow by Depressio
, 2 years ago
org.hibernate.PersistentObjectException: detached entity passed to persist: com.depressio.SomeObject
via com.br by Unknown author, 1 year ago
org.hibernate.PersistentObjectException: detached entity passed to persist: erp.banco.Banco
via com.br by Unknown author, 2 years ago
org.hibernate.PersistentObjectException: detached entity passed to persist: br.com.persistencia.entidades.Produto
via Stack Overflow by user3228763
, 2 years ago
org.hibernate.PersistentObjectException: detached entity passed to persist: model.Subject
via com.br by Unknown author, 2 years ago
org.hibernate.PersistentObjectException: detached entity passed to persist: br.com.eboxbrasil.entity.User
javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: org.openxava.tumimed.model.Banco
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1214)
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1147)
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1153)
at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:678)
at org.openxava.jpa.impl.EntityManagerDecorator.persist(EntityManagerDecorator.java:56)
at org.openxava.model.impl.JPAPersistenceProvider.persist(JPAPersistenceProvider.java:38)
at org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:148)
at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:725)
at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:45)
at org.openxava.model.MapFacade.create(MapFacade.java:111)
at org.openxava.actions.SaveAction.execute(SaveAction.java:27)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:403)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:320)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:280)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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