Huh?
Of course you can query for null with NHibernate
Using HQL:
from Blog b where b.Title is null
Using Criteria API:
s.CreateCriteria<Blog>()
.Add(Restrictions.IsNull("Title"))
.List<Blog>();
On Mon, Apr 19, 2010 at 8:57 AM, Sybaris <[email protected]> wrote:
> Ayende,
>
> I know how to make a column nullable - that's not the point.
>
> How do I handle this issue with CAR??
>
> To repeat myself: When I save an empty string to an Oracle DB it gets
> converted to NULL but I can't
> query for a NULL string with CAR/NHibernate - This seems like a dead
> end street to me...?
>
> THIS IS THE PROBLEM!
>
> G.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" 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/castle-project-users?hl=en.