I'm in a hurry so I didn't read in detail. But if ...
# codingconventions
m
I'm in a hurry so I didn't read in detail. But if you are using spring-data-jpa you might want to look into Projections. https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#projections