Merge branch '1.1.x'

pull/1442/merge
Phillip Webb 10 years ago
commit 658dc10722

@ -120,7 +120,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
if (StringUtils.hasText(this.username)) {
return this.username;
}
if (EmbeddedDatabaseConnection.isEmbedded(this.driverClassName)) {
if (EmbeddedDatabaseConnection.isEmbedded(getDriverClassName())) {
return "sa";
}
return null;
@ -130,7 +130,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
if (StringUtils.hasText(this.password)) {
return this.password;
}
if (EmbeddedDatabaseConnection.isEmbedded(this.driverClassName)) {
if (EmbeddedDatabaseConnection.isEmbedded(getDriverClassName())) {
return "";
}
return null;

Loading…
Cancel
Save