QLRM is a library that allows mapping of JPA query results to DTOs. https://github.com/72services/qlrm