spring-framework / org.springframework.jdbc.datasource.embedded / EmbeddedDatabaseFactory / setDataSourceFactory

setDataSourceFactory

open fun setDataSourceFactory(dataSourceFactory: DataSourceFactory): Unit

Set the factory to use to create the DataSource instance that connects to the embedded database.

Defaults to SimpleDriverDataSourceFactory.