From aa60b56aac779269f47027e0c409aacfcc7c4b16 Mon Sep 17 00:00:00 2001
From: stendler <stendler@mi.fu-berlin.de>
Date: Sat, 13 Jan 2018 20:33:17 +0100
Subject: [PATCH] use newer hibernate 5.2.12

the latest release spring-starter-data-jpa uses an older hibernate version (5.0.12) that does not support java8 features like time and date.

we use this to override it with our own dependency as long as spring-boot uses the old one.
---
 pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index fafa0e7..107cb0b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,18 @@
 			<artifactId>spring-boot-starter-web</artifactId>
 		</dependency>
 
+		<!-- override sping-data-jpa hibernate (5.0.12)
+		it is too old and does not correctly use java8 time
+		5.2.12 fixes this
+
+		 remove when updating spring-boot (to 2.0)
+		   -->
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-core</artifactId>
+			<version>5.2.12.Final</version>
+		</dependency>
+
 		<!-- DataSources -->
 		<dependency>
 			<groupId>mysql</groupId>
-- 
GitLab