title: JPA's EntityManager createQuery() vs createNamedQuery() vs createNativeQuery()
body: <p>Can anyone please explain me the differences between following methods of JPA's <strong>EntityManager</strong>:</p>
  <ul>
  <li><code>createQuery()</code></li>
  <li><code>createNamedQuery()</code></li>
  <li><code>createNativeQuery()</code></li>
  </ul>
  <p>And also explain to me in which cases we should use which method?</p>