Tuesday, December 06, 2005

NHibernate Nullables

This is a real annoyance. I thought the NHibernate stuff was going great, then I tried to save an empty string to our oracle database.... more mad errors

Still, the solution is not too tricky, just set the type arrribute in the mapping file:



and include the Nullables DLL in the project, and we're up and running again. A real annoyance.

see http://wiki.nhibernate.org/display/NHC/Nullables and http://nhibernate.sourceforge.net/nh-docs/html/Nullables.html

No comments: