kodo.jdbc.meta.MappingInfoNotFoundException

The "column" attribute/extension for field "peacetech.gao.ccs.jdo.Employee.obsoleteFlag" names a column whose type (CHAR) is not compatible with the type of the field (INTEGER).

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web35

  • via Unknown by 3004,
  • via Unknown by 3004,
  • Stack trace

    • kodo.jdbc.meta.MappingInfoNotFoundException: The "column" attribute/extension for field "peacetech.gao.ccs.jdo.Employee.obsoleteFlag" names a column whose type (CHAR) is not compatible with the type of the field (INTEGER). at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:89) at kodo.jdbc.meta.ColumnFieldMapping.fromMappingInfo(ColumnFieldMapping.java:116) at kodo.jdbc.meta.ValueFieldMapping.fromMappingInfo(ValueFieldMapping.java:55) at kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider..java:156) at kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:410) at kodo.jdbc.meta.ClassMapping.getFieldMapping(ClassMapping.java:1035) at kodo.jdbc.meta.ClassMapping.getMappings(ClassMapping.java:1005) at kodo.jdbc.meta.ClassMapping.getDeclaredFieldMappings(ClassMapping.java:768) at kodo.jdbc.meta.ClassMapping.resolve(ClassMapping.java:923) at kodo.jdbc.meta.BaseClassMapping.resolve(BaseClassMapping.java:302) at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:381) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:298) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:249) at kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:237) at kodo.runtime.PersistenceManagerImpl.newStateManager(PersistenceManagerImpl.java:1387) at kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1351) at kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1294) at peacetech.gao.ccs.jdo.CcsJDOHelper.getEmployee(CcsJDOHelper.java:302) at peacetech.gao.ccs.jdo.CcsJDOHelper.getEmployee(CcsJDOHelper.java:314) at peacetech.gao.ccs.LoadData.main(LoadData.java:672)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.