From 2410f4786a514458769e8f466b4cee11916e52b5 Mon Sep 17 00:00:00 2001
From: stendler <stendler@mi.fu-berlin.de>
Date: Sat, 27 Jan 2018 23:28:25 +0100
Subject: [PATCH] hibernate: exclude entitymanager from spring-boot data-jpa

this breaks stuff with hibernate 5.2
(though somehow didn't when I first tested it?!)
---
 pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pom.xml b/pom.xml
index 107cb0b..4387ca7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,12 @@
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-data-jpa</artifactId>
+			<exclusions>
+				<exclusion>
+					<groupId>org.hibernate</groupId>
+					<artifactId>hibernate-entitymanager</artifactId>
+				</exclusion>
+			</exclusions>
 		</dependency>
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
-- 
GitLab