Den 2011-11-13 12:13 skrev Dimitry Sibiryakov såhär:
> 13.11.2011 12:09, Kjell Rilbe wrote:
>>> Іncrease table name and field name size above 32 symbols for support ORM 
>>> frameworks sach as Ruby on Rails
>> Would be much appreciated, yes. ECO handle's the limitation
>> automatically, but a problem is that the 32 symbol limit is actually a
>> 32 BYTE limit. Since the identifiers are encoded in UTF8, which is
>> variable-length, the actual maximum for a specific identifier depends on
>> the characters it conatains. Very annoying. At least this was the case
>> last time i checked (2.1 I believe).
>     I wonder how such ORM frameworks work with Oracle which has lower name 
> length limit...
> And why Oracle isn't flooded with such improvement requests.
>
As I said, ECO handles it automatically. It truncates the ident at 
maxlength - 3 and appends a three char scrabled suffix that's guaranteed 
not to create a duplicate ident. So, not really a problem for ECO.

But what I wrote about variable length problems forces us to configure 
ECO to e.g. max 25 chars rather than 31.

Also, when working "behind the scenes" directly with the data, the 
identifiers are sometimes a bit difficult to read/understand, and type 
of course.

So, while it works, it's a bit of a nuiscanse(sp?).

Kjell

-- 
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kj...@datadia.se
Telefon: 08-761 06 55
Mobil: 0733-44 24 64



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to