Commit Graph

6 Commits

Author SHA1 Message Date
Marc Wrobel
ce994f9ea0 Fix typos in documentations.
Fix typos in READMEs, javadoc, comments and code.

Original pull request #642
2022-07-29 13:07:11 +02:00
Thomas Darimont
322c8b5ba3 #125 - Added example to demonstrate support for JPA 2.1 EntityGraphs.
This demonstrates the use of JPA 2.1 fetch graphs in two ways.
1. By referencing a NamedEntityGraph declared on the Product entity
2. Declaratively defining an entity graph on a repository query method.

Original pull request: #126.
2020-11-09 15:22:33 +01:00
Oliver Gierke
7a31deb2d6 #330 - Polished README on JPA 2.1 examples for manual result set mappings. 2018-05-09 16:47:23 +02:00
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
Oliver Gierke
089ea83b01 Adapted JPA 2.1 example to latest changes in Spring Data JPA.
Changed method to derive the stored procedure metadata to be named after the stored procedure so that the name doesn't have to be customized on the annotation.

Switched to Spring Data JPA master branch artifact as the stored procedure support has been merged recently.
2014-04-28 12:49:17 +02:00
Thomas Darimont
466e4d40ba Added example for JPA 2.1 stored procedure support. 2014-04-24 14:50:12 +02:00