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

EmbeddedDatabase

interface EmbeddedDatabase : DataSource

EmbeddedDatabase serves as a handle to an embedded database instance.

An EmbeddedDatabase is also a DataSource and adds a #shutdown operation so that the embedded database instance can be shut down gracefully.

Author
Keith Donald

Author
Sam Brannen

Since
3.0

Functions

shutdown

abstract fun shutdown(): Unit

Shut down this embedded database.