I'm trying to improve search time hibernate runs too many queries to get data which are not necessary
Asked
Active
Viewed 36 times
1 Answers
0
Yu have a lot of possibilities:
For example you can map them with a mapper like MapStruct. You can also build your DTO manually exactely like a new object:
Object objectDTO = new Object();
objectDTO.setSomething(object.something);
Try to code something simple to begin and the community will help you :)

Greg
- 127
- 1
- 15