title: Joining tables without relation using JPA criteria
body: <p>I have two tables with no modeled relation:</p>
  
  <p>Table <code>comm</code> with columns:</p>
  
  <pre><code>name
  date
  code
  </code></pre>
  
  <p>Table <code>persondesc</code> with columns:</p>
  
  <pre><code>code
  description
  </code></pre>
  
  <p>Relationship between the two tables is many to one (many <strong>comm</strong> to one <strong>persondesc</strong>):</p>
  
  <p><strong>com.code = persondesc.code</strong></p>
  
  <p>These two tables are mapped with annotations but I have no relation declared.</p>
  
  <p>What I'm trying to is to select <code>comm</code> table ordered by <code>persondesc.description</code>.</p>
  
  <p>How can I do this JPA and Hibernate?</p>