0 Replies Latest reply on Sep 28, 2007 3:08 AM by knuwu

    isNull not working for one-to-one relation

    knuwu Newbie

      When I try to create a criteria like the following:

      Criteria c = ((SessionImpl) entityManager.getDelegate())

      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.