File tree 10 files changed +35
-18
lines changed
spring-boot-autoconfigure
spring-boot-sample-hibernate4
spring-boot-starters/spring-boot-starter-data-jpa
spring-boot-test-autoconfigure 10 files changed +35
-18
lines changed Original file line number Diff line number Diff line change 257
257
</dependency >
258
258
<dependency >
259
259
<groupId >org.hibernate</groupId >
260
- <artifactId >hibernate-entitymanager </artifactId >
260
+ <artifactId >hibernate-core </artifactId >
261
261
<optional >true</optional >
262
262
</dependency >
263
263
<dependency >
Original file line number Diff line number Diff line change 82
82
<h2 .version>1.4.192</h2 .version>
83
83
<hamcrest .version>1.3</hamcrest .version>
84
84
<hazelcast .version>3.6.3</hazelcast .version>
85
- <hibernate .version>5.1 .0.Final</hibernate .version>
85
+ <hibernate .version>5.2 .0.Final</hibernate .version>
86
86
<hibernate-validator .version>5.2.4.Final</hibernate-validator .version>
87
87
<hikaricp .version>2.4.6</hikaricp .version>
88
88
<hikaricp-java6 .version>2.3.13</hikaricp-java6 .version>
1717
1717
<artifactId >hibernate-ehcache</artifactId >
1718
1718
<version >${hibernate.version} </version >
1719
1719
</dependency >
1720
- <dependency >
1721
- <groupId >org.hibernate</groupId >
1722
- <artifactId >hibernate-entitymanager</artifactId >
1723
- <version >${hibernate.version} </version >
1724
- </dependency >
1725
1720
<dependency >
1726
1721
<groupId >org.hibernate</groupId >
1727
1722
<artifactId >hibernate-envers</artifactId >
1728
1723
<version >${hibernate.version} </version >
1729
1724
</dependency >
1730
- <dependency >
1731
- <groupId >org.hibernate</groupId >
1732
- <artifactId >hibernate-java8</artifactId >
1733
- <version >${hibernate.version} </version >
1734
- </dependency >
1735
1725
<dependency >
1736
1726
<groupId >org.hibernate</groupId >
1737
1727
<artifactId >hibernate-jpamodelgen</artifactId >
Original file line number Diff line number Diff line change 51
51
</dependency >
52
52
<dependency >
53
53
<groupId >org.hibernate</groupId >
54
- <artifactId >hibernate-entitymanager </artifactId >
54
+ <artifactId >hibernate-core </artifactId >
55
55
<optional >true</optional >
56
56
</dependency >
57
57
<dependency >
Original file line number Diff line number Diff line change 442
442
</dependency >
443
443
<dependency >
444
444
<groupId >org.hibernate</groupId >
445
- <artifactId >hibernate-entitymanager </artifactId >
445
+ <artifactId >hibernate-core </artifactId >
446
446
<optional >true</optional >
447
447
</dependency >
448
448
<dependency >
Original file line number Diff line number Diff line change @@ -2629,6 +2629,28 @@ http://spring.io/guides/gs/accessing-data-jpa/['`Accessing Data with JPA`'] guid
2629
2629
http://spring.io and read the http://projects.spring.io/spring-data-jpa/[Spring Data JPA]
2630
2630
and http://hibernate.org/orm/documentation/[Hibernate] reference documentation.
2631
2631
2632
+ [NOTE]
2633
+ ====
2634
+ As of Hibernate 5.2, the `hibernate-entitymanager` module has been merged in
2635
+ `hibernate-core`. If you need to downgrade, you'll have to add `hibernate-entitymanager`
2636
+ yourself, something like:
2637
+
2638
+ ```xml
2639
+ <dependency>
2640
+ <groupId>org.springframework.boot</groupId>
2641
+ <artifactId>spring-boot-starter-data-jpa</artifactId>
2642
+ </dependency>
2643
+ <dependency>
2644
+ <groupId>org.hibernate</groupId>
2645
+ <artifactId>hibernate-entitymanager</artifactId>
2646
+ <version>${hibernate.version}</version>
2647
+ </dependency>
2648
+ ```
2649
+
2650
+ As Hibernate does not bundle the `hibernate-entitymanager` and `hibernate-java8`
2651
+ artifacts anymore, Spring Boot doesn't provide dependency management for them.
2652
+ ====
2653
+
2632
2654
2633
2655
2634
2656
[[boot-features-entity-classes]]
Original file line number Diff line number Diff line change 24
24
<groupId >org.springframework.boot</groupId >
25
25
<artifactId >spring-boot-starter-data-jpa</artifactId >
26
26
</dependency >
27
+ <dependency >
28
+ <groupId >org.hibernate</groupId >
29
+ <artifactId >hibernate-entitymanager</artifactId >
30
+ <version >${hibernate.version} </version >
31
+ </dependency >
27
32
<dependency >
28
33
<groupId >org.springframework.boot</groupId >
29
34
<artifactId >spring-boot-starter-web</artifactId >
Original file line number Diff line number Diff line change 25
25
</dependency >
26
26
<dependency >
27
27
<groupId >org.hibernate</groupId >
28
- <artifactId >hibernate-entitymanager </artifactId >
28
+ <artifactId >hibernate-core </artifactId >
29
29
</dependency >
30
30
<dependency >
31
31
<groupId >com.h2database</groupId >
Original file line number Diff line number Diff line change 32
32
</dependency >
33
33
<dependency >
34
34
<groupId >org.hibernate</groupId >
35
- <artifactId >hibernate-entitymanager </artifactId >
35
+ <artifactId >hibernate-core </artifactId >
36
36
<exclusions >
37
37
<exclusion >
38
38
<groupId >org.apache.geronimo.specs</groupId >
Original file line number Diff line number Diff line change 56
56
</dependency >
57
57
<dependency >
58
58
<groupId >org.hibernate</groupId >
59
- <artifactId >hibernate-entitymanager </artifactId >
59
+ <artifactId >hibernate-core </artifactId >
60
60
<exclusions >
61
61
<exclusion >
62
62
<groupId >org.jboss.spec.javax.transaction</groupId >
Original file line number Diff line number Diff line change 171
171
</dependency >
172
172
<dependency >
173
173
<groupId >org.hibernate</groupId >
174
- <artifactId >hibernate-entitymanager </artifactId >
174
+ <artifactId >hibernate-core </artifactId >
175
175
<optional >true</optional >
176
176
</dependency >
177
177
<dependency >
You can’t perform that action at this time.
0 commit comments