Commit 72e40642 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '1.3.x'

parents 09166407 ec4c8bf5
...@@ -84,7 +84,10 @@ public class DataSourceBuilder { ...@@ -84,7 +84,10 @@ public class DataSourceBuilder {
private void bind(DataSource result) { private void bind(DataSource result) {
MutablePropertyValues properties = new MutablePropertyValues(this.properties); MutablePropertyValues properties = new MutablePropertyValues(this.properties);
new RelaxedDataBinder(result).withAlias("url", "jdbcUrl").bind(properties); new RelaxedDataBinder(result)
.withAlias("url", "jdbcUrl")
.withAlias("username", "user")
.bind(properties);
} }
public DataSourceBuilder type(Class<? extends DataSource> type) { public DataSourceBuilder type(Class<? extends DataSource> type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment