Hibernate version: 1.2.0
DBMS: SQL Server 2000
I found that when I add a new record to the table which has Guid type field (that means uniqueidentifier type in SQL Server), all the null value will be filled by '{00000000-0000-0000-0000-000000000000}' by NHibernate. But I want it leave NULL natually because these Guid fields are the foreign key field that link to other tables. So the field just can be NULL or linkable value which existing on the other tables.
How to do that? Thank you very much.
--
Best regards,
Diviner.
|