AFAIK nhibernate schema is not supported that. You can use nhibernate
validator.

http://www.codinginstinct.com/2008/05/nhibernate-validator.html

In NhibernateContrib project.

On Mon, Oct 20, 2008 at 12:23 PM, Papy <[EMAIL PROTECTED]> wrote:

>
> HI all,
>
> For a System.String property, how can I define a fixed-length please ?
>
>    <property
>      name="Signature"
>      column="signature"
>      access="field.pascalcase-underscore"
>      not-null="false"
>      type="System.String"
>      length="80"                          <------------  not
> supported
>      insert="true"
>      update="true"/>
>
> I have tried to add length="80" but I get an error in schema
> definition.
>
> Thanks for help!
>
> Papy
> >
>

--~--~---------~--~----~------------~-------~--~----~
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