You don’t need to use the ResultTransformer
if you select DTOs. The ResultTransformer
is used to transform the Object[]
result set into a custom DTOs, so it’s an alternative to the JPA constructor result.
You don’t need to use the ResultTransformer
if you select DTOs. The ResultTransformer
is used to transform the Object[]
result set into a custom DTOs, so it’s an alternative to the JPA constructor result.