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

    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.
  3. 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.
  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
      SQLStateManager.prepareSetField
      1. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.assertPKUpdate(SQLStateManager.java:3736)
      2. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.removeRelationship(SQLStateManager.java:2684)
      3. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.updateObjectField(SQLStateManager.java:2647)
      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:3520)
      6 frames