From 69b04c79c6007bd2355ea31852d60e4e814b48f4 Mon Sep 17 00:00:00 2001 From: Olivier Maury <Olivier.Maury@inrae.fr> Date: Thu, 23 Jan 2025 11:27:30 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20Pr=C3=A9ciser=20ApplicationName=20dans?= =?UTF-8?q?=20l'URL=20JDBC.=20fixes=20#10578?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sido-gwt/src/main/config/dev-jd/META-INF/persistence.xml | 2 +- sido-gwt/src/main/config/dev-om/META-INF/persistence.xml | 2 +- sido-gwt/src/main/config/dev/META-INF/persistence.xml | 2 +- sido-gwt/src/main/config/preprod/META-INF/persistence.xml | 2 +- sido-gwt/src/main/config/production/META-INF/persistence.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sido-gwt/src/main/config/dev-jd/META-INF/persistence.xml b/sido-gwt/src/main/config/dev-jd/META-INF/persistence.xml index 180c0746..bb50d971 100644 --- a/sido-gwt/src/main/config/dev-jd/META-INF/persistence.xml +++ b/sido-gwt/src/main/config/dev-jd/META-INF/persistence.xml @@ -31,7 +31,7 @@ <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="javax.persistence.jdbc.url" - value="jdbc:postgresql://localhost/sido2" /> + value="jdbc:postgresql://localhost/sido2?ApplicationName=sido-dev" /> <property name="javax.persistence.jdbc.user" value="sido" /> <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" /> diff --git a/sido-gwt/src/main/config/dev-om/META-INF/persistence.xml b/sido-gwt/src/main/config/dev-om/META-INF/persistence.xml index c11e37eb..7ef46801 100644 --- a/sido-gwt/src/main/config/dev-om/META-INF/persistence.xml +++ b/sido-gwt/src/main/config/dev-om/META-INF/persistence.xml @@ -29,7 +29,7 @@ <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="javax.persistence.jdbc.url" - value="jdbc:postgresql://localhost/sido" /> + value="jdbc:postgresql://localhost/sido?ApplicationName=sido-dev" /> <property name="javax.persistence.jdbc.user" value="sido" /> <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" /> diff --git a/sido-gwt/src/main/config/dev/META-INF/persistence.xml b/sido-gwt/src/main/config/dev/META-INF/persistence.xml index df2f9d04..6bdaf92f 100644 --- a/sido-gwt/src/main/config/dev/META-INF/persistence.xml +++ b/sido-gwt/src/main/config/dev/META-INF/persistence.xml @@ -31,7 +31,7 @@ <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="javax.persistence.jdbc.url" - value="jdbc:postgresql://localhost/sido" /> + value="jdbc:postgresql://localhost/sido?ApplicationName=sido-dev" /> <property name="javax.persistence.jdbc.user" value="sido" /> <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" /> diff --git a/sido-gwt/src/main/config/preprod/META-INF/persistence.xml b/sido-gwt/src/main/config/preprod/META-INF/persistence.xml index 0038fd32..e17c6d7f 100644 --- a/sido-gwt/src/main/config/preprod/META-INF/persistence.xml +++ b/sido-gwt/src/main/config/preprod/META-INF/persistence.xml @@ -29,7 +29,7 @@ <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="javax.persistence.jdbc.url" - value="jdbc:postgresql://localhost/sido" /> + value="jdbc:postgresql://localhost/sido?ApplicationName=sido-preprod" /> <property name="javax.persistence.jdbc.user" value="sido" /> <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" /> diff --git a/sido-gwt/src/main/config/production/META-INF/persistence.xml b/sido-gwt/src/main/config/production/META-INF/persistence.xml index 52a47e09..8a9625e1 100644 --- a/sido-gwt/src/main/config/production/META-INF/persistence.xml +++ b/sido-gwt/src/main/config/production/META-INF/persistence.xml @@ -29,7 +29,7 @@ <exclude-unlisted-classes>false</exclude-unlisted-classes> <properties> <property name="javax.persistence.jdbc.url" - value="jdbc:postgresql://localhost/sido" /> + value="jdbc:postgresql://localhost/sido?ApplicationName=sido-prod" /> <property name="javax.persistence.jdbc.user" value="sido" /> <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" /> -- GitLab