kodo.util.FatalUserException: Attempt to set column "ADDRESS.P_ID" to two different values: (null)"null", (class java.lang.Long)"1'750" This can occur when you fail to set both sides of a two-sided relation between objects, or when you map different fields to the same column, but you do not keep the values of these fields in synch.

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.

  • field representing a FK
    via by 3004,
    • kodo.util.FatalUserException: Attempt to set column "ADDRESS.P_ID" to two different values: (null)"null", (class java.lang.Long)"1'750" This can occur when you fail to set both sides of a two-sided relation between objects, or when you map different fields to the same column, but you do not keep the values of these fields in synch. at kodo.jdbc.sql.PrimaryRow.setObject(PrimaryRow.java:215) at kodo.jdbc.sql.RowImpl.flushJoinValues(RowImpl.java:267) at kodo.jdbc.sql.RowImpl.flushForeignKey(RowImpl.java:189) at kodo.jdbc.sql.RowImpl.setForeignKey(RowImpl.java:158) at kodo.jdbc.sql.PrimaryRow.generateSQL(PrimaryRow.java:238) at kodo.jdbc.sql.RowImpl.getSQL(RowImpl.java:681) at kodo.jdbc.runtime.PreparedStatementManager.flushInternal(PreparedStatementManager.java:137) at kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:84) at kodo.jdbc.runtime.UpdateManagerImpl.flushGraph(UpdateManagerImpl.java:709) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:178) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:95) at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:609) at kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:153) at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1155) at kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1038) at kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:965) at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69) at kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:625) at kodo.Main.exec(Main.java:71) at kodo.Main.test1(Main.java:160) at kodo.Main.main(Main.java:26)
    No Bugmate found.