From 5c697d20f959e06d83c428ec6505421fda5c140f Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Sun, 19 Jun 2016 11:12:02 +0200
Subject: [PATCH] Avoid mysql ssl related connection warning.

---
 .../src/main/resources/META-INF/persistence.xml                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml b/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml
index 764930052..e7e8c8638 100644
--- a/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml
+++ b/ws/Archetypes/mi-maven-archetype-jpa-hibernate/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml
@@ -37,7 +37,7 @@
                 JDBC database connection parameter
             -->
             <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
-            <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/hdm"/>
+            <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/hdm?useSSL=false"/>
             <property name="javax.persistence.jdbc.user" value="hdmuser"/>
             <property name="javax.persistence.jdbc.password" value="XYZ"/>
             
-- 
GitLab