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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -