title: Join two tables in hibernate sql query
body: <p>I have Two tables in my system, the table request and table service.
  The table service is connected to a request, it has its id.
  I like to join two tables in request business class using hibernate, like this sql command:</p>
  
  <pre><code>select * from request r INNER JOIN  service s  ON s.request_id = r.id  WHERE s.is_last_service=1 and s.expiration_date&gt;'2015-12-15';
  </code></pre>
  
  <p>How can i make this query  string for hibernate? </p>