title: ERROR 4956 --- [nio-8080-exec-2] o.h.engine.jdbc.spi.SqlExceptionHelper : ORA-00923: FROM keyword not found where expected
body: <p>Hi I am new to hibernate</p>
  
  <p>I am getting above error while process.<br>
  This is my hibernate query</p>
  
  <pre><code>@Query("from Jmrrole where description=:roleName")  
  public List&lt;Jmrrole&gt; viewUserDetails(@Param("roleName") String roleName);
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>ERROR 4956 --- [nio-8080-exec-2]
    o.h.engine.jdbc.spi.SqlExceptionHelper :    ORA-00923: FROM keyword
    not found where expected</p>
  </blockquote>