I am assuming what you want in your java model is something like:
Code:
public class ServiceRequest
{
private Long id;
private Customer customer;
private Contact contact;
private Site site;
...
}
Then customer, contact, and site are each a many-to-one relationship. For example, a ServiceRequest can have only one Customer, but a customer can have many ServiceRequests.
Map the above like:
Code:
<class name="ServiceRequest" table="service-request">
<id name="id" type="long">
<generator class="..."/>
</id>
...
<many-to-one
name="customer"
column="customer"
class="Customer"
/>
<many-to-one
name="contact"
column="contact"
class="Contact"
/>
<many-to-one
name="site"
column="site"
class="Site"
/>
</class>