Aggregation query is select min(sal) as minSal, max(sal) maxSal from Emp
.
I think it is redundant to create a Mapper
and VO
only for this use-case.
Is there a predefined mapper
where I can post result into a map
for example exists in JDBi
?