python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to map from Page<ObjectOne> to Page<ObjectTwo> in Spring Data 2?
I'm looking at some old code and I'm trying to re-write it however I encountered a problem.
This is the old code that works perfectly fine:
public Page<SearchResult> search(String text, int page...
JustQuest
Votes: 0
Answers: 1
Spring application using Pageable always returns the same result from page 2
I'm using spring to develop an application using sqlite as a database, but I'm having a problem implementing pagination in the repository's findAll(Pageable pageable) method.
For this implementation I...
Nuno Rolo
Votes: 0
Answers: 1
not able to parse pageable response array to dto in java
I am working on a spring boot app where I am getting pageable response and then I want to take that pageable response array to parse it to a list of some DTO.
Here's my function:
public Object fetchSk...
rudeTool
Votes: 0
Answers: 1
Pageable compenent is passed as null even we pass page,size,sort object
I have a rest controller that takes pageable as a parameter
@GetMapping(value = "/user", produces = APPLICATION_JSON_VALUE,
consumes = APPLICATION_JSON_VALUE)
public BaseResponse g...
Abhishek
Votes: 0
Answers: 0