Support multiple init scripts in JdbcDatabaseContainer
Inspired by PRs: #2578 and #1997 Closes #2232
This feature is essential, the PR looks good, I hope it will be accepted as soon as possible, good work.
This is a must-have feature. Could anyone please approve and merge this PR?
Using private Map<String, String> initScriptPaths = new LinkedHashMap<>(); would support my use case #8634.
Thanks for your contribution, @savinov !
Looks like this change is breaking for the case when initScriptPath isn't provided. Then initScriptPaths is initialized with one null element, and then application failed when trying to get the resource in ScriptUtils.runInitScript() method.
Looks like this change is breaking for the case when initScriptPath isn't provided. Then initScriptPaths is initialized with one null element, and then application failed when trying to get the resource in ScriptUtils.runInitScript() method.
Same issue
@savinov could somebody fix it, please? Thnx in advance :)