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

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

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

  • detached entity passed to persist, error
    via openxava by jcjava
    ,
    • 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

    linxiaolong
    linxiaolong1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    12 more bugmates