SQL Result Mapper for JPA and JDBC