Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo / JPOX] Generate EMF JDO/JPOX OR Mapping
[Teneo / JPOX] Generate EMF JDO/JPOX OR Mapping [message #606979] Thu, 14 June 2007 13:29
Eclipse UserFriend
Originally posted by: fc_supercanard.yahoo.fr

Hello,

When I want to generate EMF JDO/JPOX O/R Mapping from an ecore file, an
exception is thrown and I do not know how to solve the problem - I
create EMF project from XML Schema.


Trace :


641 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
classes for package navigation
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class names
are to be fully classified, registering all the epackages
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
default annotations for EPackage navigation
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
EDataTypes
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
EClasses
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
mapping for eclass NavElement
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
default annotations for EClass: NavElement
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
superentity of the eclass
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference
+ title/NavElement does not have a manytoone annotation, adding one
Exception in thread "main" java.lang.IllegalArgumentException: No
annotated model element present for: Text for type EClass has its
epackage been registered with Teneo?
at
org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.checkAnnotatedPresent(PAnnotatedModelImpl.java:322)
at
org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.getPAnnotated(PAnnotatedModelImpl.java:268)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ge tEntityName(DefaultAnnotator.java:1607)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessManyToOneReference(DefaultAnnotator.java:1345)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessEFeature(DefaultAnnotator.java:644)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessClass(DefaultAnnotator.java:488)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessPackage(DefaultAnnotator.java:319)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ma p(DefaultAnnotator.java:210)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:128)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:52)
at
org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.createORMapper File(GenerateJDO.java:105)
at org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.main(GenerateJ DO.java:83)
Previous Topic:Issue with JPA Annotations
Next Topic:[Teneo / JPOX] Generate EMF JDO/JPOX OR Mapping
Goto Forum:
  


Current Time: Thu Jan 21 15:05:56 GMT 2021

Powered by FUDForum. Page generated in 0.02024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top