Package org.springframework.jdbc.datasource.embedded
@NonNullApi
@NonNullFields
package org.springframework.jdbc.datasource.embedded
Provides extensible support for creating embedded database instances.
-
ClassDescription
ConnectionProperties
serves as a simple data container that allows essential JDBC connection properties to be configured consistently, independent of the actualDataSource
implementation.DataSourceFactory
encapsulates the creation of a particularDataSource
implementation such as a non-poolingSimpleDriverDataSource
or a HikariCP pool setup in the shape of aHikariDataSource
.EmbeddedDatabase
serves as a handle to an embedded database instance.A builder that provides a convenient API for constructing an embedded database.EmbeddedDatabaseConfigurer
encapsulates the configuration required to create, connect to, and shut down a specific type of embedded database such as HSQL, H2, or Derby.AnEmbeddedDatabaseConfigurer
delegate that can be used to customize the embedded database.Maps well-known embedded database types toEmbeddedDatabaseConfigurer
strategies.Factory for creating anEmbeddedDatabase
instance.A subclass ofEmbeddedDatabaseFactory
that implementsFactoryBean
for registration as a Spring bean.A supported embedded database type.Internal helper for exposing dummy OutputStreams to embedded databases such as Derby, preventing the creation of a log file.