views:

67

answers:

1

Hi

I need hql query for retrieving objects with an empty value in a datetime property

Something like that

from Users u where u.LastLogon is empty

LastLogon is a DateTime? property, datetime in the MS Sql Table

How can you do that?

A: 

from Users u where u.LastLogon is null should work.

Gabe Moothart