程序包的使用
org.springframework.jdbc.datasource.embedded
使用org.springframework.jdbc.datasource.embedded的程序包 程序包 说明 org.springframework.jdbc.datasource.embedded Provides extensible support for creating embedded database instances.org.springframework.jdbc.datasource.embedded使用的org.springframework.jdbc.datasource.embedded中的类 类 说明 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 a non-poolingSimpleDriverDataSource
or a HikariCP pool setup in the shape of aHikariDataSource
.EmbeddedDatabase EmbeddedDatabase
serves as a handle to an embedded database instance.EmbeddedDatabaseBuilder A builder that provides a convenient API for constructing an embedded database.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.EmbeddedDatabaseFactory Factory for creating anEmbeddedDatabase
instance.EmbeddedDatabaseType A supported embedded database type.