I forgot to add: for Criteria queries, this is set automatically if the
mapping has the length.
Diego
On Thu, Sep 2, 2010 at 11:25, Diego Mijelshon <[email protected]>wrote:
> 1. You can make NH generate the right parameter sizes by setting them
> explicitly. Example:
>
> query.SetParameter("someProperty", value, TypeFactory.GetStringType(100))
>
>
--
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.