Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/backend/FLYSCredentials.java @ 9138:2ae6c63c576b
Fetching validation queries from system property makes no sense.
author | gernotbelger |
---|---|
date | Fri, 08 Jun 2018 11:14:51 +0200 |
parents | abe069eb180c |
children | 41377ff4bc2e |
comparison
equal
deleted
inserted
replaced
9137:3bbc687e6cb8 | 9138:2ae6c63c576b |
---|---|
158 public static final String DEFAULT_URL = | 158 public static final String DEFAULT_URL = |
159 System.getProperty( | 159 System.getProperty( |
160 "flys.backend.url", | 160 "flys.backend.url", |
161 "jdbc:postgresql://localhost:5432/flys"); | 161 "jdbc:postgresql://localhost:5432/flys"); |
162 | 162 |
163 public static final String DEFAULT_CONNECTION_INIT_SQLS = | 163 private static final String DEFAULT_CONNECTION_INIT_SQLS = "select 1 from rivers"; |
164 System.getProperty( | 164 |
165 "flys.backend.connection.init.sqls"); | 165 private static final String DEFAULT_VALIDATION_QUERY = "select 1 from rivers"; |
166 | |
167 public static final String DEFAULT_VALIDATION_QUERY = | |
168 System.getProperty( | |
169 "flys.backend.connection.validation.query"); | |
170 | 166 |
171 public static final String DEFAULT_MAX_WAIT = | 167 public static final String DEFAULT_MAX_WAIT = |
172 System.getProperty("flys.backend.connection.max.wait"); | 168 System.getProperty("flys.backend.connection.max.wait"); |
173 | 169 |
174 public static final Class [] CLASSES = { | 170 public static final Class [] CLASSES = { |