Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[TEXO] EMF which Code generation
https://www.eclipse.org/forums/index.php/mv/msg/199291/635785/#msg_635785
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
]]>Dennis Melzer2010-10-28T06:33:07-00:00Re: [TEXO] EMF which Code generation
https://www.eclipse.org/forums/index.php/mv/msg/199291/635820/#msg_635820
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
>
>
>