mysql - Unexpected token limit in JPA -


whenever i'm using limit in jpa query exceptionn thrown.can 1 suggest me alternative way filter record on basis of rownum or roncount.

select employeebo a.batchid=:'127'and limit :startponit,:endpoint, 

you can't use limit in jpa named query, can restrict records row count using setmaxresult();


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -