We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d4f12 commit 1506293Copy full SHA for 1506293
src/main/java/org/apache/ibatis/datasource/unpooled/UnpooledDataSource.java
@@ -173,7 +173,10 @@ public void setDefaultTransactionIsolationLevel(Integer defaultTransactionIsolat
173
}
174
175
private Connection doGetConnection(String username, String password) throws SQLException {
176
- Properties props = new Properties(driverProperties);
+ Properties props = new Properties();
177
+ if (driverProperties != null) {
178
+ props.putAll(driverProperties);
179
+ }
180
if (username != null) {
181
props.setProperty("user", username);
182
0 commit comments