Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Texo] Generate Table Names
[Texo] Generate Table Names [message #1049858] Fri, 26 April 2013 11:09 Go to next message
Bastian Wagenfeld is currently offline Bastian WagenfeldFriend
Messages: 163
Registered: January 2013
Senior Member
Hi Martin,

I just created a new orm.xml and wanted the table name to be limited to 30 signs. So I set the "Maximum Sql Name Length" to 30. Then I generated the orm.xml, but the table names weren't limited.
Do I have to set another option, too, in order to get an effect, or is this a bug?

Best regards
Bastian
Re: [Texo] Generate Table Names [message #1049954 is a reply to message #1049858] Fri, 26 April 2013 13:59 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5340
Registered: July 2009
Senior Member
Hi Bastian,
Maybe a bug... where do you set this maximum sql length? In the annotations model?
It can also be that the annotations model already contains the table names?

gr. Martin

On 04/26/2013 01:09 PM, Bastian Wagenfeld wrote:
> Hi Martin,
>
> I just created a new orm.xml and wanted the table name to be limited to 30 signs. So I set the "Maximum Sql Name Length"
> to 30. Then I generated the orm.xml, but the table names weren't limited.
> Do I have to set another option, too, in order to get an effect, or is this a bug?
>
> Best regards
> Bastian


--

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] Generate Table Names [message #1050481 is a reply to message #1049954] Sat, 27 April 2013 08:16 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5340
Registered: July 2009
Senior Member
Hi Bastian,
I tested this just now with an annotations model and with me it worked fine.

gr. Martin

On 04/26/2013 03:59 PM, Martin Taal wrote:
> Hi Bastian,
> Maybe a bug... where do you set this maximum sql length? In the annotations model?
> It can also be that the annotations model already contains the table names?
>
> gr. Martin
>
> On 04/26/2013 01:09 PM, Bastian Wagenfeld wrote:
>> Hi Martin,
>>
>> I just created a new orm.xml and wanted the table name to be limited to 30 signs. So I set the "Maximum Sql Name Length"
>> to 30. Then I generated the orm.xml, but the table names weren't limited.
>> Do I have to set another option, too, in order to get an effect, or is this a bug?
>>
>> Best regards
>> Bastian
>
>


--

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] Generate Table Names [message #1051692 is a reply to message #1050481] Mon, 29 April 2013 05:50 Go to previous message
Bastian Wagenfeld is currently offline Bastian WagenfeldFriend
Messages: 163
Registered: January 2013
Senior Member
Hi Martin,

sorry for that, it was just my fault. The annotations model already included the table names. So everything works fine Smile

Best regards
Bastian
Previous Topic:[EMF Databinding] Values are not reset if transaction was rolled back be pre-commit listener
Next Topic:Create EMF project using mdl file
Goto Forum:
  


Current Time: Mon Dec 22 01:26:06 GMT 2014

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

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