com.solarmetric.kodo.runtime.DataStoreException: Type "3" is referenced in the database, but does not exist. [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.IntegerSubclassProvider.getType(Int egerSubclassProvider.java:207) [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProviderImpl.getType(Subcla ssProviderImpl.java:97) [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadPrimaryMappings(Cl assMapping.java:1060) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStore Manager.java:374) [junit] at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerI mpl.java:215) [junit] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(Pers istenceManagerImpl.java:1278) [junit] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(Persistenc eManagerImpl.java:1196) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet( JDBCStoreManager.java:967) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$2.getResultObject(JD BCStoreManager.java:1146) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes ultList.java:199) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav a:142) [junit]

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    DataStoreException for multi-table inheritence using numeric indicator value

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.DataStoreException: Type "3" is referenced in the database, but does not exist. [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.IntegerSubclassProvider.getType(Int egerSubclassProvider.java:207) [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProviderImpl.getType(Subcla ssProviderImpl.java:97) [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadPrimaryMappings(Cl assMapping.java:1060) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStore Manager.java:374) [junit] at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerI mpl.java:215) [junit] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(Pers istenceManagerImpl.java:1278) [junit] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(Persistenc eManagerImpl.java:1196) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet( JDBCStoreManager.java:967) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$2.getResultObject(JD BCStoreManager.java:1146) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes ultList.java:199) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav a:142) [junit]

    Root Cause Analysis

    1. com.solarmetric.kodo.runtime.DataStoreException

      Type "3" is referenced in the database, but does not exist. [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.IntegerSubclassProvider.getType(Int egerSubclassProvider.java:207) [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProviderImpl.getType(Subcla ssProviderImpl.java:97) [junit] at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.loadPrimaryMappings(Cl assMapping.java:1060) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.initialize(JDBCStore Manager.java:374) [junit] at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerI mpl.java:215) [junit] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(Pers istenceManagerImpl.java:1278) [junit] at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(Persistenc eManagerImpl.java:1196) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet( JDBCStoreManager.java:967) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$2.getResultObject(JD BCStoreManager.java:1146) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes ultList.java:199) [junit] at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav a:142) [junit]

      at java.util.AbstractList$Itr.next()
    2. Java RT
      NativeMethodAccessorImpl.invoke0
      1. java.util.AbstractList$Itr.next(AbstractList.java:416)
      2. sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
      2 frames