my.domain.MyObject: abc". This can occur when a horizontally or vertically mapped class uses application identity with an auto-increment field and does not use a hierarchy of application identity classes.[my.domain.MyObject-105603]

Oracle Community | 3004 | 1 decade ago
  1. 0

    Difference between attach and attachAll?

    Oracle Community | 1 decade ago | 3004
    my.domain.MyObject: abc". This can occur when a horizontally or vertically mapped class uses application identity with an auto-increment field and does not use a hierarchy of application identity classes.[my.domain.MyObject-105603]

    Root Cause Analysis

    1. my.domain.MyObject

      abc". This can occur when a horizontally or vertically mapped class uses application identity with an auto-increment field and does not use a hierarchy of application identity classes.[my.domain.MyObject-105603]

      at kodo.runtime.PersistenceManagerImpl.setStateManager()
    2. kodo.runtime
      StateManagerImpl.initialize
      1. kodo.runtime.PersistenceManagerImpl.setStateManager(PersistenceManagerImpl.java:3700)
      2. kodo.runtime.StateManagerImpl.initialize(StateManagerImpl.java:242)
      3. kodo.runtime.StateManagerImpl.initialize(StateManagerImpl.java:274)
      3 frames
    3. kodo.jdbc.runtime
      JDBCStoreManager.loadAll
      1. kodo.jdbc.runtime.JDBCStoreManager.initializeState(JDBCStoreManager.java:454)
      2. kodo.jdbc.runtime.JDBCStoreManager.initializeState(JDBCStoreManager.java:366)
      3. kodo.jdbc.runtime.JDBCStoreManager.initialize(JDBCStoreManager.java:287)
      4. kodo.jdbc.runtime.JDBCStoreManager.loadAll(JDBCStoreManager.java:565)
      4 frames
    4. kodo.runtime
      PersistenceManagerImpl.attachAll
      1. kodo.runtime.DelegatingStoreManager.loadAll(DelegatingStoreManager.java:140)
      2. kodo.runtime.PersistenceManagerImpl.getObjectsById(PersistenceManagerImpl.java:2055)
      3. kodo.runtime.PersistenceManagerImpl.getObjectsById(PersistenceManagerImpl.java:1988)
      4. kodo.runtime.AttachManager.attachAll(AttachManager.java:75)
      5. kodo.runtime.PersistenceManagerImpl.attachAll(PersistenceManagerImpl.java:4011)
      5 frames