org.apache.openjpa.persistence.ArgumentException: You cannot perform operation delete on detached object "com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSessionPK[sessionKey=GSDEALER11185529604676, userCode=ABC]". This operation only applies to managed objects. FailedObject: com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSessionPK[sessionKey=GSDEALER11185529604676, userCode=ABC]

Oracle Community | 666705 | 9 years ago
  1. 0

    Kodo -- Delete problem

    Oracle Community | 9 years ago | 666705
    org.apache.openjpa.persistence.ArgumentException: You cannot perform operation delete on detached object "com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSessionPK[sessionKey=GSDEALER11185529604676, userCode=ABC]". This operation only applies to managed objects. FailedObject: com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSessionPK[sessionKey=GSDEALER11185529604676, userCode=ABC]
  2. 0

    cannot perform operation delete on detached object

    openejb-users | 9 years ago | Alexander Saint Croix
    org.apache.openjpa.persistence.ArgumentException: You cannot perform operation delete on detached object " org.apache.openjpa.enhance.org$eremite$corm$party$address$Address$pcsubclass@515a03". This operation only applies to managed objects. FailedObject: org.apache.openjpa.enhance.org$eremite$corm$party$address$Address$pcsubclass@515a03 at org.apache.openjpa.kernel.BrokerImpl.newDetachedException( BrokerImpl.java:2529)
  3. 0

    cannot perform operation delete on detached object

    openejb-users | 9 years ago | Alexander Saint Croix
    org.apache.openjpa.persistence.ArgumentException: You cannot perform operation delete on detached object " org.apache.openjpa.enhance.org$eremite$corm$party$address$Address$pcsubclass@515a03". This operation only applies to managed objects. FailedObject: org.apache.openjpa.enhance.org$eremite$corm$party$address$Address$pcsubclass@515a03 at org.apache.openjpa.kernel.BrokerImpl.newDetachedException( BrokerImpl.java:2529)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot perform operation delete on detached object

    openejb-users | 9 years ago | Alexander Saint Croix
    org.apache.openjpa.persistence.ArgumentException: You cannot perform operation delete on detached object " org.apache.openjpa.enhance.org$eremite$corm$party$address$Address$pcsubclass@515a03". This operation only applies to managed objects. FailedObject: org.apache.openjpa.enhance.org$eremite$corm$party$address$Address$pcsubclass@515a03 at org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException( BaseEjbProxyHandler.java:366) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke( BaseEjbProxyHandler.java:323) at org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke( Jdk13InvocationHandler.java:49)
  6. 0

    MobileFirst 7.0 Server stuck "Deploying" when trying to deploy a .wlapp file to Tomcat

    Stack Overflow | 2 years ago | Sam
    org.apache.openjpa.persistence.ArgumentException: Object "com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-1" is not managed by this context. FailedObject: com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.openjpa.persistence.ArgumentException

      You cannot perform operation delete on detached object "com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSessionPK[sessionKey=GSDEALER11185529604676, userCode=ABC]". This operation only applies to managed objects. FailedObject: com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSession-com.git.oms.common.entity.UserSessionPK[sessionKey=GSDEALER11185529604676, userCode=ABC]

      at org.apache.openjpa.kernel.BrokerImpl.newDetachedException()
    2. OpenJPA Aggregate Jar
      BrokerImpl.delete
      1. org.apache.openjpa.kernel.BrokerImpl.newDetachedException(BrokerImpl.java:2543)
      2. org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2534)
      3. org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2496)
      3 frames
    3. kodo.kernel
      KodoBroker.delete
      1. kodo.kernel.KodoBroker.delete(KodoBroker.java:167)
      1 frame