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]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Kodo -- Delete problem
    via by 666705,
  • cannot perform operation delete on detached object
    via by Alexander Saint Croix,
  • cannot perform operation delete on detached object
    via by Alexander Saint Croix,
    • 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(BrokerImpl.java:2543) at org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2534) at org.apache.openjpa.kernel.BrokerImpl.delete(BrokerImpl.java:2496) at kodo.kernel.KodoBroker.delete(KodoBroker.java:167)
    No Bugmate found.