kodo.persistence.InvalidStateException: Can only perform operation while a transaction is active.

Oracle Community | 666705 | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Kodo JPA: can not cascade delete

    Oracle Community | 10 years ago | 666705
    kodo.persistence.InvalidStateException: Can only perform operation while a transaction is active.

    Root Cause Analysis

    1. kodo.persistence.InvalidStateException

      Can only perform operation while a transaction is active.

      at kodo.kernel.BrokerImpl.assertTransactionOperation()
    2. kodo.kernel
      DelegatingBroker.rollback
      1. kodo.kernel.BrokerImpl.assertTransactionOperation(BrokerImpl.java:5216)
      2. kodo.kernel.BrokerImpl.rollback(BrokerImpl.java:1582)
      3. kodo.kernel.DelegatingBroker.rollback(DelegatingBroker.java:1263)
      3 frames
    3. kodo.persistence
      EntityManagerImpl.rollback
      1. kodo.persistence.EntityManagerImpl.rollback(EntityManagerImpl.java:475)
      1 frame
    4. com.bea.dao
      CustomerDAO_Kodo.delCustomer
      1. com.bea.dao.CustomerDAO_Kodo.delCustomer(CustomerDAO_Kodo.java:80)
      1 frame