2011/5/20 Ralph Balck <[email protected]>

>    <property name="SSN" type="System.String, mscorlib,
> Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
>      <column name="SSN" />
>    </property>
>

can you show us exactly the loging result... because nhibernate doesn't
execute this:
select * from Census where SSN=265145847

it might be something like:
select .... from ... where SSN = @p0 ; @p0 = ....

the problem, i see is that
1-you don't have the lenght of the column
2- you would probably need to use <column name="SSN" sql-type="nvarchar(8)"
/>

but try first 1.
Maybe you see is a CONVERT_IMPLICIT because is converting a varchar
parameter to a nvarchar column.. or different sizes.
Not quite sure what is going on...

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