Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[TENEO] MappingException
https://www.eclipse.org/forums/index.php/mv/msg/135497/425691/#msg_425691
I got the following Exception:
org.eclipse.emf.teneo.hibernate.mapper.MappingException: Feature id not
found in eclass ILogRun.
But when I look in my ecore model the super.super class ILogBase
has the feature 'id'.
This is the inheritance path:
ILogBase<-ILogBaseEntity<-ILogRun
The same code already run with an older version of teneo.
Now I have upgraded and I got this problem.
Now I have:
Teneo EMF Persistence Runtime 1.0.1.v200809211527...
Teneo EMF Persistence SDK 1.0.1.v200809211527...
with kind regards
Torsten Link]]>Torsten Link2008-12-05T00:13:13-00:00Re: [TENEO] MappingException
https://www.eclipse.org/forums/index.php/mv/msg/135497/425692/#msg_425692
Can you post the stacktrace?
Also, can you try with a maintenance build (see bottom of download page)? The latest is from mid
november.
If it still does not work, then if you can send me the model(s) then I can try myself.
gr. Martin
Torsten Link wrote:
> Hello,
>
> I got the following Exception:
> org.eclipse.emf.teneo.hibernate.mapper.MappingException: Feature id not
> found in eclass ILogRun.
>
> But when I look in my ecore model the super.super class ILogBase
> has the feature 'id'.
>
> This is the inheritance path:
> ILogBase<-ILogBaseEntity<-ILogRun
>
> The same code already run with an older version of teneo.
> Now I have upgraded and I got this problem.
>
> Now I have:
> Teneo EMF Persistence Runtime 1.0.1.v200809211527...
> Teneo EMF Persistence SDK 1.0.1.v200809211527...
>
>
> with kind regards
>
>
> Torsten Link
I tried now with the TENEO version
1.0.1.v200811151637
an I get the same behavior.
The model and the stacktrace is attached.
Tank you
Torsten
Martin Taal wrote:
> Hi Torsten,
> Can you post the stacktrace?
> Also, can you try with a maintenance build (see bottom of download page)?
> The latest is from mid november.
>
> If it still does not work, then if you can send me the model(s) then I can
> try myself.
>
> gr. Martin
>
> Torsten Link wrote:
>> Hello,
>>
>> I got the following Exception:
>> org.eclipse.emf.teneo.hibernate.mapper.MappingException: Feature id not
>> found in eclass ILogRun.
>>
>> But when I look in my ecore model the super.super class ILogBase
>> has the feature 'id'.
>>
>> This is the inheritance path:
>> ILogBase<-ILogBaseEntity<-ILogRun
>>
>> The same code already run with an older version of teneo.
>> Now I have upgraded and I got this problem.
>>
>> Now I have:
>> Teneo EMF Persistence Runtime 1.0.1.v200809211527...
>> Teneo EMF Persistence SDK 1.0.1.v200809211527...
>>
>>
>> with kind regards
>>
>>
>> Torsten Link
>
>
org.osgi.framework.BundleException: Exception in com.tsystems.abilit.log.core.model.presentation.LogCoreEdito rPlugin$Implementation.start() of bundle com.tsystems.abilit.log.core.editor.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1028)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:444)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:313)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView(V iewDescriptor.java:63)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:328)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
at org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 360)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3482)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3068)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: org.eclipse.emf.teneo.hibernate.mapper.MappingException: Hibernate mapping generation failed
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.generate(HibernateMappingGenerator.java:130)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.generateToString(HibernateMappingGenerator.java:138)
at org.eclipse.emf.teneo.hibernate.HbDataStore.mapEPackages(HbD ataStore.java:627)
at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.mapModel( HbSessionDataStore.java:155)
at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:73)
at com.tsystems.abilit.log.core.model.presentation.LogCoreEdito rPlugin$Implementation.start(LogCoreEditorPlugin.java:162)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
.... 87 more
Caused by: org.eclipse.emf.teneo.hibernate.mapper.MappingException: Feature id not found in eclass ILogRun
at org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper.getColumnNameForOrderBy(AbstractAssociationMapper.java: 603)
at org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper.addCollectionElement(AbstractAssociationMapper.java:553 )
at org.eclipse.emf.teneo.hibernate.mapper.OneToManyMapper.proce ssOtMUni(OneToManyMapper.java:91)
at org.eclipse.emf.teneo.hibernate.mapper.OneToManyMapper.proce ss(OneToManyMapper.java:55)
at org.eclipse.emf.teneo.hibernate.mapper.FeatureMapper.process PAnnotatedEReference(FeatureMapper.java:166)
at org.eclipse.emf.teneo.hibernate.mapper.FeatureMapper.process (FeatureMapper.java:99)
at org.eclipse.emf.teneo.hibernate.mapper.EntityMapper.processF eature(EntityMapper.java:594)
at org.eclipse.emf.teneo.hibernate.mapper.EntityMapper.processF eatures(EntityMapper.java:500)
at org.eclipse.emf.teneo.hibernate.mapper.EntityMapper.processE ntity(EntityMapper.java:333)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.processPAClass(HibernateMappingGenerator.java:215)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.processPersistentClasses(HibernateMappingGenerator.java :165)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.generate(HibernateMappingGenerator.java:116)
.... 95 more
Root exception:
org.eclipse.emf.teneo.hibernate.mapper.MappingException: Hibernate mapping generation failed
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.generate(HibernateMappingGenerator.java:130)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.generateToString(HibernateMappingGenerator.java:138)
at org.eclipse.emf.teneo.hibernate.HbDataStore.mapEPackages(HbD ataStore.java:627)
at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.mapModel( HbSessionDataStore.java:155)
at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:73)
at com.tsystems.abilit.log.core.model.presentation.LogCoreEdito rPlugin$Implementation.start(LogCoreEditorPlugin.java:162)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:427)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:444)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:313)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1274)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:867)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView(V iewDescriptor.java:63)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:328)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 6)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
at org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 08)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3568)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:1032)
at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPag e.java:1016)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3667)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3665)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspecti ve(ShowPerspectiveHandler.java:152)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(Sho wPerspectiveHandler.java:124)
at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowP erspectiveHandler.java:63)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:178)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:253)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:369)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:125)
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 360)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3482)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3068)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: org.eclipse.emf.teneo.hibernate.mapper.MappingException: Feature id not found in eclass ILogRun
at org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper.getColumnNameForOrderBy(AbstractAssociationMapper.java: 603)
at org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper.addCollectionElement(AbstractAssociationMapper.java:553 )
at org.eclipse.emf.teneo.hibernate.mapper.OneToManyMapper.proce ssOtMUni(OneToManyMapper.java:91)
at org.eclipse.emf.teneo.hibernate.mapper.OneToManyMapper.proce ss(OneToManyMapper.java:55)
at org.eclipse.emf.teneo.hibernate.mapper.FeatureMapper.process PAnnotatedEReference(FeatureMapper.java:166)
at org.eclipse.emf.teneo.hibernate.mapper.FeatureMapper.process (FeatureMapper.java:99)
at org.eclipse.emf.teneo.hibernate.mapper.EntityMapper.processF eature(EntityMapper.java:594)
at org.eclipse.emf.teneo.hibernate.mapper.EntityMapper.processF eatures(EntityMapper.java:500)
at org.eclipse.emf.teneo.hibernate.mapper.EntityMapper.processE ntity(EntityMapper.java:333)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.processPAClass(HibernateMappingGenerator.java:215)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.processPersistentClasses(HibernateMappingGenerator.java :165)
at org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator.generate(HibernateMappingGenerator.java:116)
.... 95 more
--nextPart2594764.YU1it6Uufq--]]>Torsten Link2008-12-05T14:03:00-00:00Re: [TENEO] MappingException
https://www.eclipse.org/forums/index.php/mv/msg/135497/425747/#msg_425747
Indeed a bug. Can you file a bugzilla? I am planning to do a new build in a few days anyway.
Using the Teneo extensionmechanism you can also solve it for yourselve (until the build is there),
let me know if this is a showstopper then I will drop you some info how to do this.
gr. Martin
Torsten Link wrote:
> Hi Martin,
>
> I tried now with the TENEO version
> 1.0.1.v200811151637
> an I get the same behavior.
>
> The model and the stacktrace is attached.
>
> Tank you
>
> Torsten
>
>
> Martin Taal wrote:
>
>> Hi Torsten,
>> Can you post the stacktrace?
>> Also, can you try with a maintenance build (see bottom of download page)?
>> The latest is from mid november.
>>
>> If it still does not work, then if you can send me the model(s) then I can
>> try myself.
>>
>> gr. Martin
>>
>> Torsten Link wrote:
>>> Hello,
>>>
>>> I got the following Exception:
>>> org.eclipse.emf.teneo.hibernate.mapper.MappingException: Feature id not
>>> found in eclass ILogRun.
>>>
>>> But when I look in my ecore model the super.super class ILogBase
>>> has the feature 'id'.
>>>
>>> This is the inheritance path:
>>> ILogBase<-ILogBaseEntity<-ILogRun
>>>
>>> The same code already run with an older version of teneo.
>>> Now I have upgraded and I got this problem.
>>>
>>> Now I have:
>>> Teneo EMF Persistence Runtime 1.0.1.v200809211527...
>>> Teneo EMF Persistence SDK 1.0.1.v200809211527...
>>>
>>>
>>> with kind regards
>>>
>>>
>>> Torsten Link
>>
>
Not quite sure if the Bug Description I entered is the real
cause.
I will wait for the new Build.
Thanks
Torsten.
Martin Taal wrote:
> Hi Torsten,
> Indeed a bug. Can you file a bugzilla? I am planning to do a new build in
> a few days anyway. Using the Teneo extensionmechanism you can also solve
> it for yourselve (until the build is there), let me know if this is a
> showstopper then I will drop you some info how to do this.
>
> gr. Martin
>
> Torsten Link wrote:
>> Hi Martin,
>>
>> I tried now with the TENEO version
>> 1.0.1.v200811151637
>> an I get the same behavior.
>>
>> The model and the stacktrace is attached.
>>
>> Tank you
>>
>> Torsten
>>
>>
>> Martin Taal wrote:
>>
>>> Hi Torsten,
>>> Can you post the stacktrace?
>>> Also, can you try with a maintenance build (see bottom of download
>>> page)? The latest is from mid november.
>>>
>>> If it still does not work, then if you can send me the model(s) then I
>>> can try myself.
>>>
>>> gr. Martin
>>>
>>> Torsten Link wrote:
>>>> Hello,
>>>>
>>>> I got the following Exception:
>>>> org.eclipse.emf.teneo.hibernate.mapper.MappingException: Feature id not
>>>> found in eclass ILogRun.
>>>>
>>>> But when I look in my ecore model the super.super class ILogBase
>>>> has the feature 'id'.
>>>>
>>>> This is the inheritance path:
>>>> ILogBase<-ILogBaseEntity<-ILogRun
>>>>
>>>> The same code already run with an older version of teneo.
>>>> Now I have upgraded and I got this problem.
>>>>
>>>> Now I have:
>>>> Teneo EMF Persistence Runtime 1.0.1.v200809211527...
>>>> Teneo EMF Persistence SDK 1.0.1.v200809211527...
>>>>
>>>>
>>>> with kind regards
>>>>
>>>>
>>>> Torsten Link
>>>
>>
>
>]]>Torsten Link2008-12-06T13:22:14-00:00