title: Spring Jpa Multiple output paramters in stored procedure - Exception "No property found for type"
body: <p>I call oracle stored procedure using spring-data-jpa:2.1.9.RELEASE (Spring boot 2.1.6 RELEASE)</p>
  <p><strong>Procedure:</strong></p>
  <pre><code>procedure proc(data in varchar2, res1 out number, res2 out number)
  begin
    insert into table (id, data) values (abc.hibernate_sequence.nextval, data)
    returning id into res1;
    res2 := id*5;
  end proc;
  </code></pre>
  <p><strong>Entity</strong></p>
  <pre><code>@Entity
  @Table(name = &quot;table&quot;, schema = &quot;abc')
  @NamedStoredProcedureQuery(name = &quot;testName&quot;, procedureName = &quot;proc&quot;, parameters = {
      @StoredProcedureParameter(mode = ParameterMode.IN, name = &quot;data&quot;, type = String.class),
      @StoredProcedureParameter(mode = ParameterMode.OUT, name = &quot;res1&quot;, type = Long.class),
      @StoredProcedureParameter(mode = ParameterMode.OUT, name = &quot;res2&quot;, type = Long.class) 
  })
  public class testEntity { ... }
  </code></pre>
  <p><strong>Repository</strong></p>
  <pre><code>@Repository
  public interface TestEntityRepository extends JpaRepository&lt;TestEntity, Long&gt; {
  
    @Transactional
    @Procedure(name = &quot;testName&quot;)
    Map&lt;String, Long&gt; procedure(@Param(&quot;data&quot;) String data);
  }
  </code></pre>
  <p>When I start application:</p>
  <pre><code>IllegalArgumentException: Failed to create query for method public abstract java.util.Map TestEntityRepository.procedure(java.lang.String)! 
  No property procedure found for type TestEntity
  </code></pre>
  <p>If i use stored procedure with only 1 output parameter everything is fine.</p>