Joined: Mon Oct 05, 2009 5:06 am Posts: 6
|
Hi..
I can't seem to get the correct characters into my database.
My classes have type String, and in the mapping I specify type AnsiString.
The database fields are of type nvarchar.
And when I use SQL Server Management Studio to insert a row using:
------------------ create table test ( test nvarchar(max) )
insert into test values (N'Fryslân')
select * from test ------------------
It displays:
test ----------- Fryslân
(1 row(s) affected)
But when I use nHibernate to do the same using Session.SaveOrUpdate(doTest)
It will eventually show:
Frysl?n
Am I missing something?
|
|