Mercurial > dive4elements > river
changeset 9138:2ae6c63c576b
Fetching validation queries from system property makes no sense.
author | gernotbelger |
---|---|
date | Fri, 08 Jun 2018 11:14:51 +0200 |
parents | 3bbc687e6cb8 |
children | 41377ff4bc2e |
files | backend/src/main/java/org/dive4elements/river/backend/FLYSCredentials.java |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/backend/FLYSCredentials.java Fri Jun 08 11:06:07 2018 +0200 +++ b/backend/src/main/java/org/dive4elements/river/backend/FLYSCredentials.java Fri Jun 08 11:14:51 2018 +0200 @@ -160,13 +160,9 @@ "flys.backend.url", "jdbc:postgresql://localhost:5432/flys"); - public static final String DEFAULT_CONNECTION_INIT_SQLS = - System.getProperty( - "flys.backend.connection.init.sqls"); + private static final String DEFAULT_CONNECTION_INIT_SQLS = "select 1 from rivers"; - public static final String DEFAULT_VALIDATION_QUERY = - System.getProperty( - "flys.backend.connection.validation.query"); + private static final String DEFAULT_VALIDATION_QUERY = "select 1 from rivers"; public static final String DEFAULT_MAX_WAIT = System.getProperty("flys.backend.connection.max.wait");