posted 10 years ago
Well, not really. Basically the class thatyou pass to the creation of the main Criteria object is the list of object types that you are going to get back. So if you want a list of the other objects make your Criteria object based on that. You can always do joins in a Criteria. Check out http://www.javalobby.org/articles/hibernatequery102/ at the bottom, the last two pieces of code you see is creating a join.