spring-framework / org.springframework.jdbc.datasource.embedded / EmbeddedDatabaseBuilder / addScripts

addScripts

open fun addScripts(vararg scripts: String): EmbeddedDatabaseBuilder

Add multiple SQL scripts to execute to initialize or populate the database.

Parameters

scripts - the scripts to execute

Return
this, to facilitate method chaining

Since
4.0.3