Beginner |
|
Joined: Thu Oct 14, 2004 5:07 am Posts: 37 Location: Cambridge, UK
|
Hi
I have a User Object with a one-to-many to Transaction Object (for instance)...
Therefore, one user can have many transactions...
Using the Hibernate (3) Criteria API, I want to say "get me all User objects who have not got any Transactions..."
But I have not found a way to do this using the Criteria API.. I have tried detached queries, count 0.. etc.. but cant get anything to work...
Does anyone know how to do this?
Hibernate version:3.0.5
|
|