Hi,
Please do you have any idea how I can return top n records using JPQL in my query loader as below?
I have used TOP, LIMIT clause, I am not getting result.
Thanks
<collection id="quotationRequestsDc" class="com.modula.sapb1portalmgt.entity.sales.quotation.QuotationRequest">
<fetchPlan extends="_base">
<property name="customer" fetchPlan="_instance_name"/>
</fetchPlan>
<loader id="quotationRequestsDl">
<query>
<![CDATA[select e from spm_QuotationRequest e
]]>
</query>
</loader>
</collection>