Files
spring-data-examples/jpa
Thomas Darimont ad2b77e7ee #330 - Demonstrate usage of JPA 2.1 @SqlResultSetMapping.
Sometimes, e.g. for analytics, it is handy to be able to return a different entity result type from a Repository query method than the base Repository entity type or an interface based projection.

This demonstrates how to use a custom @SqlResultSetMapping in combination with @ColumnResult introduced in JPA 2.1.
2018-05-09 16:22:09 +02:00
..