2012/11/19 Michael Fan <[email protected]>

> IDbDataParameter parameter.Size is set to the length of the string of the 
> first row in collection, instead of the column size defined in the table

How do you conclude "set to the length of the string of the first row
in collection"? I don't quite get that part.

NH will not set the parameter size according to the column size in the
table, but some drivers will set the parameter size based on the
length attribute from your mapping. However, the SybaseAseClientDriver
does not appear to do that.


Could it be that the Sybase ADO.NET provider has a provider specific
behavior of changing parameter.Size when the value is assigned?

/Oskar

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