Why you should use the Hibernate ResultTransformer to customize result set mappings

Introduction

JPA queries allow you to fetch either entities or DTO projections. However, sometimes you want a combined result set as illustrated in this Hibernate forum question.

Continue reading “Why you should use the Hibernate ResultTransformer to customize result set mappings”

Advertisements