I had 2 tables set up without any relationship specified in the objects and the query worked fine. I changed the objects to specify the one to many relationship and now I get the error "node to traverse cannot be null!".
Here is a snippet of the domain objects:
These are two methods from the DAO. The first method is the one that worked fine before adding the one to many relationship.
The DAO methods are actually being called from a JUnittest. I wouldn't think that would be a problem though.
I'm guessing that I have something wrong in my domain classes. Any ideas?