Here i have the following mapping:

CompositeId()
.KeyProperty(e => e.TransactId, "TransactId")
.KeyProperty(e => e.TransactType, p =>
{
p.ColumnName("TType");
p.Length(2);
})
.KeyReference(e => e.Entity, "EntityId");

... which is supposed to create 3-column index key:
TransactId - bigint
TType -varchar(2)
EntityId - bigint

I am using Firebird 2.5 (32bit), and FluentNHibernate v1.3.  The database 
is UTF8 encoded.

However, it throws an index creation exception saying the index size 
exceeded the limit.  Looking at the schema, the DDL generated is :
       TransactId BIGINT not null,
      * TType VARCHAR(255) not null,*
       EntityId BIGINT not null,

The length did not changed; only the column name.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/9TIhIZNY99oJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to