title: inserting values into multiple tables using hibernate
body: <p>i have existing tables <strong>hotel</strong> and <strong>hotel_services</strong>.</p>
  
  <pre><code>hotel table contains:
  hotel_id
  hotel_name
  
  hotel_services contains:
  hotel_id
  hotel_service_name
  </code></pre>
  
  <p>each hotel can offer several services, so in my form user could enter as many services as he wants at a time.</p>
  
  <p>so for instance:</p>
  
  <pre><code>hotel name: HOTEL1
  hotel_services:
  1. hotel_service1
  2. hotel_service2
  3. hotel_service3
  </code></pre>
  
  <p>My question is how should i do it in hibernate in such a way that i'll be able to insert all the data into their respective tables(which are hotels and hotel_services tables).</p>
  
  <p>thanks for the help.. </p>