This is similar, but not identical, to: Hibernate criteria query on different properties of different objects
I have a three tables: User, Course, and Test. Course has a User foreign key and Test has a 开发者_JAVA百科Course foreign key. I am having trouble mapping the Test collection for each User since I ne