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]]

Solutions on the web60

  • 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]]
  • via Oracle Community by 3004, 1 year ago
    The reference mappings for one-to-many field "com.ewarna.pdm.entities.achievability.FormulationJobPE.m_Recipes" are not in the table of the fields related persistent element type.
  • via Oracle Community by 3004, 1 year ago
    The mapping for field "com.saic.pisces.jdo.Person.personDocuments" is missing information on how to link the field's table to its owning class' table, or the given information is invalid.
  • Stack trace

    • 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(Mappings.java:134) at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:120) at kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:94) at kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:198) at kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:470) at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:991) at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:971) at kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:934) at kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:654) at kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:796) at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:431) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:349) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177) at kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165) at kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2423) at kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2375) at kodo.runtime.AttachManager.makePersistent(AttachManager.java:410) at kodo.runtime.AttachManager.attach(AttachManager.java:279) at kodo.runtime.AttachManager.attach(AttachManager.java:56) at kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:4349)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.