Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
2ff9e3cf
Commit
2ff9e3cf
authored
Jun 16, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Hibernate 5.2
See gh-6111
parent
d9d26cba
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
18 deletions
+35
-18
pom.xml
spring-boot-autoconfigure/pom.xml
+1
-1
pom.xml
spring-boot-dependencies/pom.xml
+1
-11
pom.xml
spring-boot-devtools/pom.xml
+1
-1
pom.xml
spring-boot-docs/pom.xml
+1
-1
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+22
-0
pom.xml
spring-boot-samples/spring-boot-sample-hibernate4/pom.xml
+5
-0
pom.xml
spring-boot-samples/spring-boot-sample-jpa/pom.xml
+1
-1
pom.xml
spring-boot-starters/spring-boot-starter-data-jpa/pom.xml
+1
-1
pom.xml
spring-boot-test-autoconfigure/pom.xml
+1
-1
pom.xml
spring-boot/pom.xml
+1
-1
No files found.
spring-boot-autoconfigure/pom.xml
View file @
2ff9e3cf
...
...
@@ -257,7 +257,7 @@
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-
entitymanager
</artifactId>
<artifactId>
hibernate-
core
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
...
...
spring-boot-dependencies/pom.xml
View file @
2ff9e3cf
...
...
@@ -82,7 +82,7 @@
<h2.version>
1.4.192
</h2.version>
<hamcrest.version>
1.3
</hamcrest.version>
<hazelcast.version>
3.6.3
</hazelcast.version>
<hibernate.version>
5.
1
.0.Final
</hibernate.version>
<hibernate.version>
5.
2
.0.Final
</hibernate.version>
<hibernate-validator.version>
5.2.4.Final
</hibernate-validator.version>
<hikaricp.version>
2.4.6
</hikaricp.version>
<hikaricp-java6.version>
2.3.13
</hikaricp-java6.version>
...
...
@@ -1717,21 +1717,11 @@
<artifactId>
hibernate-ehcache
</artifactId>
<version>
${hibernate.version}
</version>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-entitymanager
</artifactId>
<version>
${hibernate.version}
</version>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-envers
</artifactId>
<version>
${hibernate.version}
</version>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-java8
</artifactId>
<version>
${hibernate.version}
</version>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-jpamodelgen
</artifactId>
...
...
spring-boot-devtools/pom.xml
View file @
2ff9e3cf
...
...
@@ -51,7 +51,7 @@
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-
entitymanager
</artifactId>
<artifactId>
hibernate-
core
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
...
...
spring-boot-docs/pom.xml
View file @
2ff9e3cf
...
...
@@ -442,7 +442,7 @@
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-
entitymanager
</artifactId>
<artifactId>
hibernate-
core
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
2ff9e3cf
...
...
@@ -2629,6 +2629,28 @@ http://spring.io/guides/gs/accessing-data-jpa/['`Accessing Data with JPA`'] guid
http://spring.io and read the http://projects.spring.io/spring-data-jpa/[Spring Data JPA]
and http://hibernate.org/orm/documentation/[Hibernate] reference documentation.
[NOTE]
====
As of Hibernate 5.2, the `hibernate-entitymanager` module has been merged in
`hibernate-core`. If you need to downgrade, you'll have to add `hibernate-entitymanager`
yourself, something like:
```xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate.version}</version>
</dependency>
```
As Hibernate does not bundle the `hibernate-entitymanager` and `hibernate-java8`
artifacts anymore, Spring Boot doesn't provide dependency management for them.
====
[[boot-features-entity-classes]]
...
...
spring-boot-samples/spring-boot-sample-hibernate4/pom.xml
View file @
2ff9e3cf
...
...
@@ -24,6 +24,11 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-entitymanager
</artifactId>
<version>
${hibernate.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
...
...
spring-boot-samples/spring-boot-sample-jpa/pom.xml
View file @
2ff9e3cf
...
...
@@ -25,7 +25,7 @@
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-
entitymanager
</artifactId>
<artifactId>
hibernate-
core
</artifactId>
</dependency>
<dependency>
<groupId>
com.h2database
</groupId>
...
...
spring-boot-starters/spring-boot-starter-data-jpa/pom.xml
View file @
2ff9e3cf
...
...
@@ -32,7 +32,7 @@
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-
entitymanager
</artifactId>
<artifactId>
hibernate-
core
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.apache.geronimo.specs
</groupId>
...
...
spring-boot-test-autoconfigure/pom.xml
View file @
2ff9e3cf
...
...
@@ -56,7 +56,7 @@
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-
entitymanager
</artifactId>
<artifactId>
hibernate-
core
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.jboss.spec.javax.transaction
</groupId>
...
...
spring-boot/pom.xml
View file @
2ff9e3cf
...
...
@@ -171,7 +171,7 @@
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-
entitymanager
</artifactId>
<artifactId>
hibernate-
core
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment