| Thanks in advance for your help. I am attempting to map data from multiple tables into a single class. Here is the table setup:
 Table Foo
 column a (pk)
 column b
 
 Table Bar
 column a (pk)
 column c (pk)
 column d
 column e
 
 There is a one-to-many relationship between Foo and Bar. I have a class that stores values for a, b, and d. I would therefore like to perform the following query:
 
 select a, b, d from Foo, Bar where a=? and e=?
 
 Assume that e is unique. Can I set up a mapping and a corresponding query to do this? Thanks.
 
 
 |