程序包 org.springframework.jdbc.datasource.embedded
Provides extensible support for creating embedded database instances.
接口概要 接口 说明 ConnectionProperties ConnectionPropertiesserves as a simple data container that allows essential JDBC connection properties to be configured consistently, independent of the actualDataSourceimplementation.DataSourceFactory DataSourceFactoryencapsulates the creation of a particularDataSourceimplementation such as a non-poolingSimpleDriverDataSourceor a HikariCP pool setup in the shape of aHikariDataSource.EmbeddedDatabase EmbeddedDatabaseserves as a handle to an embedded database instance.EmbeddedDatabaseConfigurer EmbeddedDatabaseConfigurerencapsulates 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 anEmbeddedDatabaseinstance.EmbeddedDatabaseFactoryBean A subclass ofEmbeddedDatabaseFactorythat implementsFactoryBeanfor 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.