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).

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
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).
via Oracle Community by 3004, 1 year ago
The "column" attribute/extension for field "dao.Directory.name" names a column whose type (UNKNOWN(-9)) is not compatible with the type of the field (VARCHAR).
via Oracle Community by 3004, 1 year ago
The "column" attribute/extension for field "test.Arret.portefeuilleId" names a column "PORTEFEUILLE" in table "ARRET" whose type (UNKNOWN(-8)) is not compatible with the type of the field (VARCHAR).
via Oracle Community by 3004, 1 year ago
The "column" attribute/extension for field "org.test.Workspace.bLocked" names a column "Locked" in table "WORKSPACE" whose type (UNKNOWN(16)) is not compatible with the type of the field (BIT). [org.test.Workspace.bLocked [kodo.jdbc.meta.ValueFieldMapping]]
via Oracle Community by 3004, 5 months ago
The "column" attribute/extension for field "com.ejgallo.winemanager.domain.impl.equipment.SiteBoImpl._bottling" names a column whose type (VARCHAR) is not compatible with the type of the field (BIT).
via Oracle Community by 3004, 5 months ago
The "column" attribute/extension for field "com.siemens.med.hs.commoncomponents.sat.jdo.EventActionCd.eventActionCdPK" names a column "EventActionCdPK" in table "EventActionCd" whose type (CHAR) is not compatible with the type of the field (INTEGER). [com.siemens.med.hs.commoncomponents.sat.jdo.EventActionCd.eventActionCdPK [kodo.jdbc.meta.ValueFieldMapping]]
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.