title: How to write this query using JPA Criteria query?
body: <p>Can anyone help me to get the JPA criteria query for the JPA query mentioned below.</p>
  
  <pre><code>SELECT p,l FROM Person p 
  LEFT JOIN Language l ON (p.language = l.language and l.locale like :locale) 
  AND p.name like :name 
  AND p.time BETWEEN :startDate 
  AND :endDate order by name asc
  </code></pre>