I was just trying to map a class of mine to a set of tables in hbm files. Let me put my scenario here.
I have Table1 which holds foreign key relation to Table 2. Now Table 2 has foreign Key relation to Table3. I have a class Class1. Now how define this mapping in my hbm file.
Also note that I want all the values to come to a single class, since I don't want all values to fields to be fetched of these tables. My class has declared only those fields that I want to use. Totally and utterly confused.