From 22e4dcd1a5724c813cd5f9b001aaa580b74b25ec Mon Sep 17 00:00:00 2001
From: Mirco Nasuti <mirco.nasuti@chuv.ch>
Date: Thu, 28 Jan 2016 15:42:15 +0100
Subject: [PATCH] A wrong connection URL to the DB was introduced in the
 hibernate cfg file with the last commit

---
 src/main/resources/hibernate.cfg.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/hibernate.cfg.xml b/src/main/resources/hibernate.cfg.xml
index 7ae742fb6..6b6aa44b9 100644
--- a/src/main/resources/hibernate.cfg.xml
+++ b/src/main/resources/hibernate.cfg.xml
@@ -6,7 +6,7 @@
 <hibernate-configuration>
     <session-factory>
         <property name="connection.driver_class">org.postgresql.Driver</property>
-        <property name="connection.url">jdbc:postgresql://localhost:55432/postgres</property>
+        <property name="connection.url">jdbc:postgresql://portaldb:5432/postgres</property>
         <property name="connection.username">postgres</property>
         <property name="connection.password">test</property>
         <property name="hibernate.format_sql">true</property>
-- 
GitLab