Hi

Being new to nHibernate when I set up all of my mappings I used a
standard map for a string, presuming it would not use a length limited
one, however after some problems in production I tracked down the
issue to the default being nvarchar(255), while some of the fields
need to be nvarchar(MAX) (because we don't know how much data could be
in them).

I've now set up the mapping correctly, however when I run:

new SchemaUpdate(config).Execute(true, false);

The only alter statement is the extra field added (correctly mapped
with nvarchar(MAX)) and the new fields lengths are nowhere to be
seen.  Is this the intended behavior or am I missing something?

Thanks in advance,

Jon

Ps. I'm using Fluent NHibernate however I've asked my question on that
google group and have been informed it is an NHibernate problem.

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