Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Texo] How to prevent the generator from generating entity name annotation
[Texo] How to prevent the generator from generating entity name annotation [message #1204203] Sat, 23 November 2013 01:51 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 198
Registered: July 2009
Senior Member
Hi all,
I want to generate JPA entity classes with Texo from my model. But the
class is annotated with

@Entity(name = "MY_TYPE")


Where can I set that the name isn't generated? I only want the "@Entity"
annotation.

Thanks in advance,
Ralf.
Re: [Texo] How to prevent the generator from generating entity name annotation [message #1205011 is a reply to message #1204203] Sat, 23 November 2013 11:18 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ralf,
Not possible now.. Currently always the name is set, but I can see it is not always needed.

I could add an option to prevent automatic name generation but would want to have it more generic than just applying to
entity names.

Can you enter a bugzilla for this?

gr. Martin

On 11/23/2013 02:51 AM, Ralf Heydenreich wrote:
> Hi all,
> I want to generate JPA entity classes with Texo from my model. But the
> class is annotated with
>
>
> @Entity(name = "MY_TYPE")
> 

>
> Where can I set that the name isn't generated? I only want the "@Entity"
> annotation.
>
> Thanks in advance,
> Ralf.
>


--

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] How to prevent the generator from generating entity name annotation [message #1207787 is a reply to message #1205011] Sun, 24 November 2013 19:39 Go to previous message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 198
Registered: July 2009
Senior Member
Am 23.11.2013 12:18, schrieb Martin Taal:
> Hi Ralf,
> Not possible now.. Currently always the name is set, but I can see it is
> not always needed.
>
> I could add an option to prevent automatic name generation but would
> want to have it more generic than just applying to entity names.
>
> Can you enter a bugzilla for this?
>
> gr. Martin
>
> On 11/23/2013 02:51 AM, Ralf Heydenreich wrote:
>> Hi all,
>> I want to generate JPA entity classes with Texo from my model. But the
>> class is annotated with
>>
>>
>> @Entity(name = "MY_TYPE")
>> 

>>
>> Where can I set that the name isn't generated? I only want the "@Entity"
>> annotation.
>>
>> Thanks in advance,
>> Ralf.
>>
>
>

Hi Martin,
thanks for your reply. I've assigned a new bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=422419

Ralf.
Previous Topic:Leading whitespace is not removed when parsing list element
Next Topic:[Texo] How to add the @DiscriminatorColumn(length = xxx) on a generated Entity with Texo
Goto Forum:
  


Current Time: Wed Aug 21 04:57:12 GMT 2019

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

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

Back to the top