[#682] Fixed bad handling of MULTI_SCHEMA connections in tests
This commit is contained in:
parent
0abad56aae
commit
67bafe5383
@ -780,8 +780,11 @@ public abstract class jOOQAbstractTest<
|
||||
jdbcURL = properties.getProperty("db." + d + ".url") + getSchemaSuffix();
|
||||
jdbcSchema = properties.getProperty("db." + d + ".schema") + getSchemaSuffix();
|
||||
|
||||
jdbcUser = properties.getProperty("db." + d + ".username");
|
||||
jdbcPassword = properties.getProperty("db." + d + ".password");
|
||||
if (jdbcUser == null)
|
||||
jdbcUser = properties.getProperty("db." + d + ".username");
|
||||
|
||||
if (jdbcPassword == null)
|
||||
jdbcPassword = properties.getProperty("db." + d + ".password");
|
||||
|
||||
return getConnection1(jdbcUser, jdbcPassword, properties.getProperty("db." + d + ".driver"));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user