com.solarmetric.kodo.runtime.UserException: The column "PERIODID" was set to multiple different values in this SQL statement. This column was initially set to "631", and was subsequently set to "631". This is probably because the schema mapping uses a single column for multiple fields on the assumption that the fields will always store the same underlying value, but the assumption was broken.

Oracle Community | 3004 | 1 decade 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

    Application identity PK attribute and non-PK attribute map to same table field?

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: The column "PERIODID" was set to multiple different values in this SQL statement. This column was initially set to "631", and was subsequently set to "631". This is probably because the schema mapping uses a single column for multiple fields on the assumption that the fields will always store the same underlying value, but the assumption was broken.
  2. 0

    class-column with multi-level inheritance

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: The column "CLASS_CD" was set to multiple different values in this SQL statement. This is probably because the schema mapping uses a single column for multiple fields on the assumption that the fields will always store the same underlying value, but the assumption was broken.

    Root Cause Analysis

    1. com.solarmetric.kodo.runtime.UserException

      The column "PERIODID" was set to multiple different values in this SQL statement. This column was initially set to "631", and was subsequently set to "631". This is probably because the schema mapping uses a single column for multiple fields on the assumption that the fields will always store the same underlying value, but the assumption was broken.

      at com.solarmetric.kodo.impl.jdbc.sql.Update.setInternal()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.commit
      1. com.solarmetric.kodo.impl.jdbc.sql.Update.setInternal(Update.java:166)
      2. com.solarmetric.kodo.impl.jdbc.sql.Update.set(Update.java:55)
      3. com.solarmetric.kodo.impl.jdbc.ormapping.OneToOneMapping.update(OneToOneMapping.java:255)
      4. com.solarmetric.kodo.impl.jdbc.ormapping.OneToOneMapping.insert(OneToOneMapping.java:232)
      5. com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.insert(ClassMapping.java:390)
      6. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:530)
      7. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:697)
      8. com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:422)
      8 frames
    3. utility.model
      Factory.main
      1. utility.model.Factory.testAreaAPV(Factory.java:1143)
      2. utility.model.Factory.main(Factory.java:1063)
      2 frames