kodo.jdbc.meta.MappingInfoNotFoundException: The reference mappings for one-to-many field "Invoice.openTrades" are not in the table of the field's related persistent element type.[Invoice.openTrades [kodo.jdbc.meta.OneToManyFieldMapping]]

Oracle Community | 3004 | 1 decade ago
  1. 0

    MappingInfoNotFoundException with one-many mapping to horizontal PC subclass

    Oracle Community | 1 decade ago | 3004
    kodo.jdbc.meta.MappingInfoNotFoundException: The reference mappings for one-to-many field "Invoice.openTrades" are not in the table of the field's related persistent element type.[Invoice.openTrades [kodo.jdbc.meta.OneToManyFieldMapping]]
  2. 0

    kodo.jdbc.meta.MappingInfoNotFoundException

    Oracle Community | 1 decade ago | 3004
    kodo.jdbc.meta.MappingInfoNotFoundException: Could not obtain a valid mapping for "class com.marc.entity.Folderized". This could indicate that mapping information could not be found, or that it was invalid. Check the log for possible details.
  3. 0

    MappingInfoNotFoundException for embedded class

    Oracle Community | 1 decade ago | 3004
    kodo.jdbc.meta.MappingInfoNotFoundException: Could not obtain a valid mapping for "class kodopt.model.Password". This could indicate that mapping information could not be found, or that it was invalid. Check the log for possible details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    mapping info exception on nvarchar columns

    Oracle Community | 1 decade ago | 3004
    kodo.jdbc.meta.MappingInfoNotFoundException: 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).
  6. 0

    Kodo 3.0.1 bugs

    Oracle Community | 1 decade ago | 3004
    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).

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. kodo.jdbc.meta.MappingInfoNotFoundException

      The reference mappings for one-to-many field "Invoice.openTrades" are not in the table of the field's related persistent element type.[Invoice.openTrades [kodo.jdbc.meta.OneToManyFieldMapping]]

      at kodo.jdbc.meta.Mappings.invalidMapping()
    2. kodo.jdbc.meta
      MappingRepository.getMetaData
      1. kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:134)
      2. kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:120)
      3. kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:94)
      4. kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:198)
      5. kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:470)
      6. kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:991)
      7. kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:971)
      8. kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:934)
      9. kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:654)
      10. kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:796)
      11. kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:431)
      12. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:349)
      13. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)
      14. kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165)
      14 frames
    3. kodo.runtime
      PersistenceManagerImpl.attach
      1. kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2423)
      2. kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2375)
      3. kodo.runtime.AttachManager.makePersistent(AttachManager.java:410)
      4. kodo.runtime.AttachManager.attach(AttachManager.java:279)
      5. kodo.runtime.AttachManager.attach(AttachManager.java:56)
      6. kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:4349)
      6 frames