Package org.springframework.jdbc.datasource.embedded
@NullMarked
package org.springframework.jdbc.datasource.embedded
Provides extensible support for creating embedded database instances.
-
ClassDescription
ConnectionPropertiesserves as a simple data container that allows essential JDBC connection properties to be configured consistently, independent of the actualDataSourceimplementation.DataSourceFactoryencapsulates the creation of a particularDataSourceimplementation such as a non-poolingSimpleDriverDataSourceor a HikariCP pool setup in the shape of aHikariDataSource.EmbeddedDatabaseserves as a handle to an embedded database instance.A builder that provides a convenient API for constructing an embedded database.EmbeddedDatabaseConfigurerencapsulates the configuration required to create, connect to, and shut down a specific type of embedded database such as HSQL, H2, or Derby.AnEmbeddedDatabaseConfigurerdelegate that can be used to customize the embedded database.Maps well-known embedded database types toEmbeddedDatabaseConfigurerstrategies.Factory for creating anEmbeddedDatabaseinstance.A subclass ofEmbeddedDatabaseFactorythat implementsFactoryBeanfor 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.