Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [TEXO] transient
[TEXO] transient [message #901600] Mon, 13 August 2012 15:38 Go to next message
Gary Godfrey is currently offline Gary GodfreyFriend
Messages: 31
Registered: February 2012
Member
Hi,

In my .ecore model I have set some attributes to have transient = true. When I generate the JPA model code, how do I ensure these get the @Transient annotation applied?

Regards,
Gary
Re: [TEXO] transient [message #901605 is a reply to message #901600] Mon, 13 August 2012 16:03 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hmm, transient is here for xml-persistence. But I think it makes sense to re-use it here.

Can you enter a feature request for this in bugzilla?

gr. Martin

On 08/13/2012 05:38 PM, Gary Godfrey wrote:
> Hi,
>
> In my .ecore model I have set some attributes to have transient = true. When I generate the JPA model code, how do I
> ensure these get the @Transient annotation applied?
>
> Regards,
> Gary


--

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
Re: [TEXO] transient [message #901718 is a reply to message #901605] Tue, 14 August 2012 10:21 Go to previous message
Gary Godfrey is currently offline Gary GodfreyFriend
Messages: 31
Registered: February 2012
Member
Thanks Martin, I have added texo annotation to the ecore model attributes and it works fine.

Regards,
Gary
Previous Topic:EMFStore / CDO for UML models
Next Topic:[TEXO] JPA entity names
Goto Forum:
  


Current Time: Thu Apr 25 01:42:58 GMT 2024

Powered by FUDForum. Page generated in 0.03637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top