kodo.jdbc.meta.MappingInfoNotFoundException: 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.

Oracle Community | 3004 | 1 decade ago
  1. 0

    Mapping one-many and one-one to a separate table.

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

    Embedded One-to-One mapping problem

    Oracle Community | 1 decade ago | 3004
    kodo.jdbc.meta.MappingInfoNotFoundException: No mapping information was found for "xxx.yyy.zzz.jdo.business.Location.lat". [mappingtool] at kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:149) [mappingtool] at kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:429) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:911) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:891) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:854) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:617) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:758) [mappingtool] at kodo.jdbc.meta.EmbeddedClassMapping.resolve(EmbeddedClassMapping.java:353) [mappingtool] at kodo.jdbc.meta.EmbeddedClassMapping.fromMappingInfo(EmbeddedClassMapping.java:162) [mappingtool] at kodo.jdbc.meta.EmbeddedOneToOneFieldMapping.fromMappingInfo(EmbeddedOneToOneFieldMapping.java:174) [mappingtool] at kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:160) [mappingtool] at kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:429) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:911) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:888) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:854) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:762) [mappingtool] at kodo.jdbc.meta.BaseClassMapping.resolve(BaseClassMapping.java:323) [mappingtool] at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:390) [mappingtool] at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:308) [mappingtool] at kodo.jdbc.meta.AbstractFieldMapping.getTypeMapping(AbstractFieldMapping.java:661) [mappingtool] at kodo.jdbc.meta.OneToOneFieldMapping.fromMappingInfo(OneToOneFieldMapping.java:123) [mappingtool] at kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:160) [mappingtool] at kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:429) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:911) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:891) [mappingtool] at kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:666) [mappingtool] at kodo.jdbc.meta.RuntimeMappingProvider.initialize(RuntimeMappingProvider.java:89) [mappingtool] at kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:364) [mappingtool] at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:307) [mappingtool] at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:162) [mappingtool] at kodo.jdbc.meta.MappingTool.buildSchema(MappingTool.java:646) [mappingtool]
  3. 0

    Horizontal mapping + embedded one-to-one problem

    Oracle Community | 1 decade ago | 3004
    kodo.jdbc.meta.MappingInfoNotFoundException: No mapping information was found for "xxx.yyy.zzz.persistence.jdo.business.Location". [mappingtool] at kodo.jdbc.meta.RuntimeMappingProvider.getMapping(RuntimeMappingProvider.java:44) [mappingtool] at kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:352) [mappingtool] at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:307) [mappingtool] at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:162) [mappingtool] at kodo.jdbc.meta.MappingTool.buildSchema(MappingTool.java:646) [mappingtool]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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]]
  6. 0

    problem using column of type nchar with mssqlserver

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

    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 "com.ewarna.pdm.entities.achievability.FormulationJobPE.m_Recipes" are not in the table of the fields related persistent element type.

      at kodo.jdbc.meta.Mappings.invalidMapping()
    2. kodo.jdbc.meta
      MappingTool.run
      1. kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:89)
      2. kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:75)
      3. kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:58)
      4. kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:156)
      5. kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:410)
      6. kodo.jdbc.meta.ClassMapping.getFieldMapping(ClassMapping.java:1035)
      7. kodo.jdbc.meta.ClassMapping.getMappings(ClassMapping.java:1005)
      8. kodo.jdbc.meta.ClassMapping.getDeclaredFieldMappings(ClassMapping.java:768)
      9. kodo.jdbc.meta.ClassMapping.resolve(ClassMapping.java:923)
      10. kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:381)
      11. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:298)
      12. kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:162)
      13. kodo.jdbc.meta.MappingTool.buildSchema(MappingTool.java:619)
      14. kodo.jdbc.meta.MappingTool.run(MappingTool.java:917)
      14 frames
    3. kodo.jdbc.ant
      MappingToolTask.executeOn
      1. kodo.jdbc.ant.MappingToolTask.executeOn(MappingToolTask.java:175)
      1 frame
    4. com.solarmetric.ant
      TaskBase.execute
      1. com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)
      1 frame
    5. Ant
      Main.main
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
      2. org.apache.tools.ant.Task.perform(Task.java:341)
      3. org.apache.tools.ant.Target.execute(Target.java:309)
      4. org.apache.tools.ant.Target.performTasks(Target.java:336)
      5. org.apache.tools.ant.Project.executeTarget(Project.java:1339)
      6. org.apache.tools.ant.Project.executeTargets(Project.java:1255)
      7. org.apache.tools.ant.Main.runBuild(Main.java:609)
      8. org.apache.tools.ant.Main.start(Main.java:196)
      9. org.apache.tools.ant.Main.main(Main.java:235)
      9 frames