When I try to create a criteria like the following:
Criteria c = ((SessionImpl) entityManager.getDelegate())
.createCriteria(Person.class);
pCriteria.add(Restrictions.isNull("location"));
where location is the attribute of an one-to-one relation, i don't get any hit in the resultlist, even there are records in the database matching this criteria.