java - Spring data findFirst5xxxx returns more than just 5 -
i have repository has method:
list<subgroup> findfirst5bysubgroupid(biginteger groupid, sort sort);
when call findfirst5bysubgroupid
returns more 5.
why spring data doing this???
here example of repository:
@repository public interface subgrouprepository extends crudrepository <subgroup, biginteger> { list<subgroup> findfirst5bysubgroupid(biginteger sectorid, sort sort); }
Comments
Post a Comment