程序包 org.springframework.jdbc.datasource.embedded
Provides extensible support for creating embedded database instances.
接口概要 接口 说明 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 aSimpleDriverDataSource
or a connection pool such as Apache DBCP or C3P0.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.类概要 类 说明 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.枚举概要 枚举 说明 EmbeddedDatabaseType A supported embedded database type.