title: Can createNativeQuery of EnityManager return resultClass that is dojo class
body: <p>I can have the following script:</p>
  
  <p><br/>
  1. I have an entity class - <code>EntityClass</code> (mapping with <code>EntityTable</code>)<br/>
  2. I have a dojo class - <code>DojoClass</code><br/>
  3. Both of the classes have the same variables.<br/></p>
  
  <p><strong>Question:<br/></strong>
  What will be returned when I call the following method:<br/>
  A- <code>entityManager.createNativeQuery("SELECT * FROM EntityTable",EntityClass.class);</code> <br/></p>
  
  <p>B- <code>entityManager.createNativeQuery("SELECT * FROM EntityTable",Dojo.class);</code> <br/></p>
  
  <p>Are they correct?</p>