Skip to content
Snippets Groups Projects
Commit df3286e5 authored by buczekp's avatar buczekp
Browse files

[LMS-1832] missing commit

SVN: 18266
parent ca440174
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,16 @@ public class SimpleDatabaseConfigurationContext implements DisposableBean ...@@ -65,6 +65,16 @@ public class SimpleDatabaseConfigurationContext implements DisposableBean
private final String password; private final String password;
// for testing
public SimpleDatabaseConfigurationContext(String driverClassName, String url, String username,
String password)
{
this.driverClassName = driverClassName;
this.url = url;
this.username = username;
this.password = password;
}
public SimpleDatabaseConfigurationContext(Properties properties) public SimpleDatabaseConfigurationContext(Properties properties)
{ {
this.driverClassName = PropertyUtils.getMandatoryProperty(properties, DRIVER_KEY); this.driverClassName = PropertyUtils.getMandatoryProperty(properties, DRIVER_KEY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment