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

Solutions on the web

via Hibernate JIRA by Cristian Jujea, 2 years ago
org.hibernate.PersistentObjectException: detached entity passed to persist: shop.entities.shopper.ShopOrder
via Hibernate JIRA by Cristian Jujea, 1 year ago
org.hibernate.PersistentObjectException: detached entity passed to persist: shop.entities.shopper.ShopOrder
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 com.br by Unknown author, 2 years ago
org.hibernate.PersistentObjectException: detached entity passed to persist: br.com.eboxbrasil.entity.User
org.hibernate.PersistentObjectException: detached entity passed to persist: shop.entities.shopper.ShopOrder	at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:127)	at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)	at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808)	at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782)	at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786)	at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:672)	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1215)	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1148)	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1154)	at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:678)	at com.sun.enterprise.container.common.impl.EntityManagerWrapper.persist(EntityManagerWrapper.java:269)	at shop.ejb.ShopperFacade.createOrder(ShopperFacade.java:121)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)	at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)	at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5367)	at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:862)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)	at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:371)	at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5339)	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5327)	at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:206)