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

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -