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 f326508 commit fc342fbCopy full SHA for fc342fb
ebean-datasource-api/src/main/java/io/ebean/datasource/DataSourceConfig.java
@@ -143,7 +143,9 @@ public DataSourceConfig copy() {
143
copy.clientInfo = new Properties();
144
copy.clientInfo.putAll(clientInfo);
145
}
146
- copy.initSql = initSql;
+ if (initSql != null) {
147
+ copy.initSql = new ArrayList<>(initSql);
148
+ }
149
copy.alert = alert;
150
copy.listener = listener;
151
copy.enforceCleanClose = enforceCleanClose;
0 commit comments