title: No converter found capable of converting from type [java.lang.Integer] to type [@org.springframework.data.jpa.repository.Query
body: <p>Error</p>
  <blockquote>
  <p>org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.Integer] to type [@org.springframework.data.jpa.repository.Query com.entity.CombHoldingRule]</p>
  </blockquote>
  <p>Entity Class is like below</p>
  <pre><code>    @Type(type = &quot;int-array&quot;)
      @Column(
              name = &quot;holdingrule_list&quot;,
              columnDefinition = &quot;int[]&quot;
      )
      private int[] holdingRuleList;//Checked
  </code></pre>
  <p>Repository :-</p>
  <pre><code>@Query(value=&quot;select combHoldingRuleId , &quot; +
              &quot;combHoldingRuleName, &quot; +
              &quot;jurisdictionId, &quot; +
              &quot;functionGroupId, &quot; +
              &quot;overallNettingType, &quot; +
              &quot;packageId ,&quot; +
              &quot;holdingRuleList from CombHoldingRule where packageId=:packageId&quot;)
      //@Query(value=query,nativeQuery = true)
      List&lt;CombHoldingRule&gt; repoCHRFromPackageId(@Param(&quot;packageId&quot;) int packageId);
  </code></pre>