I'm to new at NHibernate to follow you but the mapping is generated from
Fluent NH so maybe it's an issue in that product?

public EntityMap()
{
  Id(x => x.Id);
  Map(x => x.Content).WithLengthOf(2500);
}

>From "16.1.1. Customizing the schema"
http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html_single/#toolsetguide-s1-2

Ex:
<property name="Foo" type="String" length="64" not-null="true"/>

>From my hbm:
<property name="Content" length="*2500*" type="string"/>

Do you mean that there are more ways of configure the length?

On Sun, Feb 22, 2009 at 4:57 PM, Fabio Maulo <[email protected]> wrote:

> 2009/2/22 Gustavo Ringel <[email protected]>
>
>> Are you meaning that when you open a column tag every SQL Specific
>> declaration in the property is disregarded?
>>
>
> You should choose between the "short-way" or the "verbose-way"... without
> mix it.
> BTW we having some issues related to the "mapping binders".
>
> --
> Fabio Maulo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to