fix timescale db type replacement (#15156)
Signed-off-by: querdenker2k <querdenker2k@gmx.de>
This commit is contained in:
parent
ea7eb9ff57
commit
99e78d84b5
@ -41,7 +41,7 @@ public class JdbcTimescaledbDAO extends JdbcPostgresqlDAO {
|
||||
Properties properties = (Properties) this.databaseProps.clone();
|
||||
// Adjust the jdbc url since the service name 'timescaledb' is only used to differentiate the DAOs
|
||||
if (properties.containsKey("jdbcUrl")) {
|
||||
properties.put("jdbcUrl", properties.getProperty("jdbcUrl").replace("timescaledb", "postgresql"));
|
||||
properties.put("jdbcUrl", properties.getProperty("jdbcUrl").replace("jdbc:timescaledb", "jdbc:postgresql"));
|
||||
}
|
||||
return properties;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user