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.
26 lines
818 B
XML
26 lines
818 B
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.data.examples</groupId>
|
|
<artifactId>spring-data-jpa-examples</artifactId>
|
|
<version>2.0.0.BUILD-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>spring-data-jpa-jpa21</artifactId>
|
|
<name>Spring Data JPA - JPA 2.1 specific features</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|