title: how to pass parameters to a stored procedure using @NamedNativeQuery in spring hibernate
body: <p>i have a procedure that has a parameter @id, i am also calling the @NamedNativeQuery in spring hibernate, i want to know how to pass the parameter in the procedure in the query property of @NamedNativeQuery</p>
  
  <p>my code looks like this.</p>
  
  <p>@NamedNativeQuery(name = "Callmyprocedure", query="{CALL sampleprocedure :id}", callable =true, resultClass = Subscriber.class)</p>
  
  <p>where id is my procedure parameter, but its not working.</p>