com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException: Update of a primary key field is not allowed.

Oracle Community | 807581 | 1 decade ago
  1. 0

    Update of a primary key field is not allowed?

    Oracle Community | 1 decade ago | 807581
    com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException: Update of a primary key field is not allowed.
  2. 0

    getting error while creating rows in database

    Oracle Community | 1 decade ago | 843830
    com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException: JDO76207: Update of a primary key field is not allowed.
  3. 0

    Update of a primary key field is not allowed?

    Oracle Community | 1 decade ago | 807581
    com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException: Update of a primary key field is not allowed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException

      Update of a primary key field is not allowed.

      at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.assertPKUpdate()
    2. com.sun.jdo
      PersistenceManagerWrapper.makePersistent
      1. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.assertPKUpdate(SQLStateManager.java:3736)
      2. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updateRelationship(SQLStateManager.java:2774)
      3. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updateObjectField(SQLStateManager.java:2658)
      4. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.doUpdateField(SQLStateManager.java:3488)
      5. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.prepareSetField(SQLStateManager.java:3563)
      6. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.prepareSetField(SQLStateManager.java:3515)
      7. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updateTrackedFields(SQLStateManager.java:3453)
      8. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.makePersistent(SQLStateManager.java:790)
      9. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.internalMakePersistent(PersistenceManagerImpl.java:1781)
      10. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:794)
      11. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerWrapper.makePersistent(PersistenceManagerWrapper.java:297)
      11 frames
    3. Unknown
      BasketDetailBean_543373004_ConcreteImpl.ejbCreate
      1. BasketDetailBean_543373004_ConcreteImpl.ejbCreate(BasketDetailBean_543373004_ConcreteImpl.java:633)
      1 frame