|
Re: [Texo] How do I prevent JPA annotations from being generated on Java "interface&quo [message #1220430 is a reply to message #1220425] |
Wed, 11 December 2013 17:14 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Bertrand,
I guess you don't want any jpa annotations on interfaces. I can hardcode this in Texo code generation, to not do this in
java interfaces.
Can you enter a bugzilla for this?
gr. Martin
On 12/11/2013 05:59 PM, Bertrand Quenin wrote:
> Hi,
>
> I have an EClass with the "abstract" and "interface" attributes set to true, so Texo is basically generating a Java
> interface. I have other EClasses extending this interface.
>
> The code generated by Texo is fine, however, it generates an @Entity and an @Access annotation on the interface that I
> need to remove after generation.
>
> I didn't find a way to prevent generation of these JPA annotations on this interface (I tried using the annotation model
> but I couldn't find a way).
>
> Is there a way to do this?
>
> Thanks,
> BQ.
>
--
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.03045 seconds