Package org.springframework.jdbc.datasource.embedded
Provides extensible support for creating embedded database instances.
Interface Summary Interface Description ConnectionProperties ConnectionProperties
serves as a simple data container that allows essential JDBC connection properties to be configured consistently, independent of the actualDataSource
implementation.DataSourceFactory DataSourceFactory
encapsulates the creation of a particularDataSource
implementation such as a non-poolingSimpleDriverDataSource
or a HikariCP pool setup in the shape of aHikariDataSource
.EmbeddedDatabase EmbeddedDatabase
serves as a handle to an embedded database instance.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.Class Summary Class Description EmbeddedDatabaseBuilder A builder that provides a convenient API for constructing an embedded database.EmbeddedDatabaseFactory Factory for creating anEmbeddedDatabase
instance.EmbeddedDatabaseFactoryBean A subclass ofEmbeddedDatabaseFactory
that implementsFactoryBean
for registration as a Spring bean.OutputStreamFactory Internal helper for exposing dummy OutputStreams to embedded databases such as Derby, preventing the creation of a log file.Enum Summary Enum Description EmbeddedDatabaseType A supported embedded database type.