Package org.springframework.jdbc.datasource.embedded

Provides extensible support for creating embedded database instances.


Interface Summary
ConnectionProperties DataSourceFactory helper that allows essential JDBC connection properties to be configured consistently, independent of the actual DataSource implementation.
DatabasePopulator Strategy used to populate an embedded database during initialization.
DataSourceFactory Encapsulates the creation of a particular DataSource implementation, such as a SimpleDriverDataSource or connection pool such as Apache DBCP or C3P0.
EmbeddedDatabase A handle to an EmbeddedDatabase instance.
EmbeddedDatabaseConfigurer Encapsulates the configuration required to create, connect to, and shutdown a specific type of embedded database such as HSQL or H2.

Class Summary
EmbeddedDatabaseBuilder A builder that provides a fluent API for constructing an embedded database.
EmbeddedDatabaseFactory Creates a EmbeddedDatabase instance.
EmbeddedDatabaseFactoryBean A subclass of EmbeddedDatabaseFactory that implements FactoryBean for registration as a Spring bean.
ResourceDatabasePopulator Populates a database from SQL scripts defined in external resources.

Enum Summary
EmbeddedDatabaseType A supported embedded database type.

Exception Summary
CannotReadScriptException Thrown by ResourceDatabasePopulator if one of its SQL scripts could not be read during population.

Package org.springframework.jdbc.datasource.embedded Description

Provides extensible support for creating embedded database instances. HSQL in-memory support provided natively