title: Query for join in Spring Data JPA
body: <p>I want to write a join like </p>
  
  <pre><code>Select a.id,a.desc,b.desc from A a  left join B b on a.MEDIA_ID = b.ID
  </code></pre>
  
  <p>I have create two Entities A &amp; B and created <code>CrudRepository&lt;A,Long&gt;</code>. </p>
  
  <p>Now, in the crudRepository in need to write a method which can get the data using the above join. </p>
  
  <p>Also, i created a transient variable in entity A (Names it as 'bDescription)
  how to achieve this in <em>Spring Data JPA</em>.</p>
  
  <p>Note: I need join just to find out 'description'(a column in B) for a particular id(primary key in B and mapped as 'MEDIA_ID' in A) of Entity B..</p>
  
  <p>Thanks in Advance</p>