|
Re: [TEXO] EMF which Code generation [message #635820 is a reply to message #635785] |
Thu, 28 October 2010 09:21 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Wayne,
The Texo orm generation assumes that you generated Texo code and not EMF code. As Texo generates true pojos (with
standard list implementations) the orm mapping is easier and can run on a standard runtime without extra runtime layers
(like Teneo). Here are some special code generation features btw:
http://wiki.eclipse.org/Texo/Code_Generation_Patterns
The Teneo orm generation assumes that you generated code using EMF and genmodel.
Btw, Texo currently has 2 annotation models: 1) for code generation, 2) for orm. My advice is to only fill the
annotations model with the things you want to override from the standard generation, so remove all the other annotations
which you don't want to override.
gr. Martin
On 10/28/2010 08:33 AM, SirWayne wrote:
> Hello,
>
> i have a ecore model. From this ecore Model i create a genmodel which
> generates my Java Code.
>
> Now i create from the ecore a annotationsmodel by Texo.
> I want to create the orm.xml But i dont know which Java-Code generation
> i have to use? The generation from Texo generate Model Code without
> Interfaces? Or can I use the genmodel and the annotationsmodel?
>
> Is there a code example in svn or cvs?
>
> Thanks
>
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.02928 seconds