spring-framework / org.springframework.jdbc.datasource.embedded / EmbeddedDatabaseConfigurer

EmbeddedDatabaseConfigurer

interface EmbeddedDatabaseConfigurer

EmbeddedDatabaseConfigurer encapsulates the configuration required to create, connect to, and shut down a specific type of embedded database such as HSQL, H2, or Derby.

Author
Keith Donald

Author
Sam Brannen

Since
3.0

Functions

configureConnectionProperties

abstract fun configureConnectionProperties(properties: ConnectionProperties, databaseName: String): Unit

Configure the properties required to create and connect to the embedded database instance.

shutdown

abstract fun shutdown(dataSource: DataSource, databaseName: String): Unit

Shut down the embedded database instance that backs the supplied DataSource.