Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » @ManyToOne not working correctly
@ManyToOne not working correctly [message #615416] Thu, 07 February 2008 01:50
Jason Henriksen is currently offline Jason HenriksenFriend
Messages: 231
Registered: July 2009
Senior Member
Hi Martin,

I know this works, but we're getting a cryptic error. Can you shed any
light on this?

<xsd:element ecore:opposite="address"
ecore:reference="model:Consumer"
name="consumerSK"
type="xsd:int">
<xsd:annotation>
<xsd:appinfo source="teneo.jpa">
@ManyToOne
@JoinColumn(name="CONSUMER_SK")
</xsd:appinfo>
</xsd:annotation>
</xsd:element>


Stack Trace:

[2/6/08 17:40:56:578 PST] 0000001e SystemErr R [ERROR]
org.eclipse.emf.teneo.annotations.parser.AnnotationParserExc eption - The
eclass: HbAnnotatedEAttribute does not have an efeature for ManyToOne
< org.eclipse.emf.teneo.annotations.parser.AnnotationParserExc eption: The
eclass: HbAnnotatedEAttribute does not have an efeature for
ManyToOne> org.eclipse.emf.teneo.annotations.parser.AnnotationParserExc eption:

The eclass: HbAnnotatedEAttribute does not have an efeature for ManyToOne
at
org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter.processAnnotatedModelElement(EAnnotationParserImporte r.java:130)
at
org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter.process(EAnnotationParserImporter.java:83)
at
org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter.process(EAnnotationParserImporter.java:72)
at
org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter.process(EAnnotationParserImporter.java:64)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:106)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:66)
at
org.eclipse.emf.teneo.hibernate.HbDataStore.mapEPackages(HbD ataStore.java:550)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.mapModel( HbSessionDataStore.java:159)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:73)
at com.vsp.soaputil.VSPSoapUtil.getDataStore(VSPSoapUtil.java:2 40)
at com.vsp.soaputil.VSPSoapUtil.getVSPSoapUtil(VSPSoapUtil.java :103)
at
com.vsp.consumer.service.Consumer_lfcSOAPImpl.add(Consumer_l fcSOAPImpl.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatche r.invokeMethod(JavaDispatcher.java:178)
at
com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatche r.invokeOperation(JavaDispatcher.java:141)
at
com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.p rocessRequestResponse(SoapRPCProcessor.java:448)
at
com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.p rocessMessage(SoapRPCProcessor.java:413)
at
com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.pr ocessMessage(BasicDispatcher.java:134)
at
com.ibm.ws.webservices.engine.dispatchers.java.SessionDispat cher.invoke(SessionDispatcher.java:204)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(Piv otHandlerWrapper.java:227)
at
com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler. invoke(JAXRPCHandler.java:152)
at
com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke (WrappedHandler.java:64)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(Piv otHandlerWrapper.java:227)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(Piv otHandlerWrapper.java:227)
at
com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebSe rvicesEngine.java:336)
at
com.ibm.ws.webservices.engine.transport.http.WebServicesServ let.doPost(WebServicesServlet.java:739)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at
com.ibm.ws.webservices.engine.transport.http.WebServicesServ letBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl etWrapper.java:989)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:501)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleReque st(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j ava:3252)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGro up.java:264)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai ner.java:811)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebCont ainer.java:1439)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChanne lLink.java:112)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleD iscrimination(HttpInboundLink.java:454)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleN ewInformation(HttpInboundLink.java:383)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(H ttpInboundLink.java:263)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback .sendToDiscriminators(NewConnectionInitialReadCallback.java: 214)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback .complete(NewConnectionInitialReadCallback.java:113)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.future Completed(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(Abstract AsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(As yncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:1 95)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(Result Handler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)



Thanks Martin,

Jason
Previous Topic:[Teneo] OutOfMemory error
Next Topic:@ManyToOne not working correctly
Goto Forum:
  


Current Time: Sun Sep 20 05:12:27 GMT 2020

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

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

Back to the top