|Re: [TEXO] EMF which Code generation [message #635820 is a reply to message #635785]
||Thu, 28 October 2010 09:21
| Martin Taal
Registered: July 2009
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:
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.
On 10/28/2010 08:33 AM, SirWayne wrote:
> 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?
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: firstname.lastname@example.org - email@example.com
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.02408 seconds