Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » modelling associations
modelling associations [message #620682] Mon, 23 February 2009 21:27
Rachna Bakhru is currently offline Rachna BakhruFriend
Messages: 45
Registered: July 2009
Member
Hello

I am new to Teneo and Emf.
The modeling associations article on the elever website did give me some
overview. (http://www.elver.org/hibernate/hibernate_relations.html) But Is
there a more detailed article available anywhere?

I am working with the library example
I am trying to map the Writer to books relationshp as OneToMany
relationship.
<eStructuralFeatures xsi:type="ecore:EReference" name="books"
upperBound="-1"

eType="#//Book" eOpposite="#//Book/author">

<eAnnotations source="teneo.jpa">

<details key="appinfo" value="@OneToMany(mappedBy=&quot;author&quot;,
indexed=false)"/>

</eAnnotations>

</eStructuralFeatures>

But the mapping generated is always of type many-to-many.

What am I doing wrong?

Thanks
RJ







Previous Topic:[EMFT Compare] Additionnal ressource and compare
Next Topic:modelling associations
Goto Forum:
  


Current Time: Fri Apr 19 21:42:39 GMT 2024

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

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

Back to the top