title: From Hibernate Version 5.3.0 return "ordinal parameter not bound 1"
body: <p>Am upgrading Hibernate from 5.1.2.Final to 5.4.13. Am facing issue in below code,</p>
  
  <pre><code>@Entity
  @NamedNativeQuery(name = "getStudentDetails", resultClass = StudentEntity.class, query = "{call getStudentDetails(?)}")
  public class StudentEntity {
  private Long id;
  private String name;
  }
  </code></pre>
  
  <p>and my DAO class like below,</p>
  
  <pre><code>public List&lt;StudentEntity&gt; getStudentDetails(){
   List&lt;StudentEntity&gt; result = null;
   try{
     Query query = em.createNamedQuery("getStudentDetails");
     result = query.getResultList();
  }catch(Exception e){
  
  }
  return result;
  }
  </code></pre>
  
  <p><code>create or replace procedure getStudentDetails(p_return_cur OUT SYS_REFCURSOR)</code> is Store procedure with only output parameter. </p>
  
  <p>am not set outparameter in java code. Till Hibernate 5.2.* don't have this issue. When update to 5.3.* it return "ordinal parameter not bound 1".</p>