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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089570#4089570
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089570
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user