|
Re: [texo] Annotations not generated [message #557866 is a reply to message #557854] |
Thu, 09 September 2010 09:47 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Daniel,
Texo currently does not generate the jpa annotations in the code. I checked with several ORM people and they all advice
to do the jpa annotations in a separate orm.xml file, therefore this is the first mode to support.
I am waiting for the first proponent of jpa annotations in the java code to implement that part. The Texo infrastructure
is setup for supporting that also.
gr. Martin
On 09/09/2010 10:57 AM, Daniel wrote:
> Hello,
>
> I am new to texo. I started with a small sample ecore with two tables.
> Yesterday I've installed texo (actual version), JDK1.6. I can create the
> annotationsmodel from my ecore file without any problems. Therefore I
> click "Generate ORM annotated model" from the context menu. This results
> into a <ecore-name>-orm.annotationsmodel file that contains some ORM
> annotations like @Entitiy. But the generated code that I also create
> from the texo context menu doesn't contain these annotations. I also
> renamed the annotationsmodel file to <ecore-name>.annotationsmodel as
> described at
> http://wiki.eclipse.org/Texo/Code_Generation_Details#How_Tex o_uses_the_Annotations_Model
> chapter "How Texo uses the annotatoins model" without success.
>
> Do I have to do something else to generate the annotations? I don't find
> any information at the web. Or do I have some misconfiguration?
>
> Thanks,
> Daniel
--
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.01714 seconds