[Texo] Annotations model in ECore [message #1244497] |
Wed, 12 February 2014 07:20  |
Eclipse User |
|
|
|
Dear All,
When Texo is used for generation of JPA annotated POJOs it needs two models:
- Ecore file for domain model
- Annotations Model for additional information on JPA annotations.
Is it possible to somehow specify information on JPA annotations directly in ECore model? E.g. by using Ecore annnotations?
I am especially interested about it in regard to the future support of Xcore in Texo. It would be really comfortable to use one XCore file to specify object and its attributes together with metadata for JPA annotations.
What do you think?
Cheers,
Dominik
|
|
|
Re: [Texo] Annotations model in ECore [message #1245165 is a reply to message #1244497] |
Thu, 13 February 2014 06:49   |
Eclipse User |
|
|
|
Hi Dominik,
I am on holiday, therefore the slower reply... Yes I think it makes sense to have this, but code to parse annotations is
sometimes a fair amount of work. That's my main obstacle for this. Let me ask/ping Ed Merks if there is another way to
integrate the annotations model with xcore.
gr. Martin
On 02/12/2014 01:20 PM, Dominik Leszyk wrote:
> Dear All,
>
> When Texo is used for generation of JPA annotated POJOs it needs two models:
> - Ecore file for domain model
> - Annotations Model for additional information on JPA annotations.
>
> Is it possible to somehow specify information on JPA annotations directly in ECore model? E.g. by using Ecore annnotations?
>
> I am especially interested about it in regard to the future support of Xcore in Texo. It would be really comfortable to
> use one XCore file to specify object and its attributes together with metadata for JPA annotations.
>
> What do you think?
>
> Cheers,
> Dominik
--
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@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
Powered by
FUDForum. Page generated in 0.24427 seconds