interface EmbeddedDatabase : DataSource
An |
|
open class EmbeddedDatabaseBuilder
A builder that provides a convenient API for constructing an embedded database. Usage Example
|
|
interface EmbeddedDatabaseConfigurer
|
|
open class EmbeddedDatabaseFactory
Factory for creating an EmbeddedDatabase instance. Callers are guaranteed that the returned database has been fully initialized and populated. The factory can be configured as follows:
After configuring the factory, call |
|
open class EmbeddedDatabaseFactoryBean : EmbeddedDatabaseFactory, FactoryBean<DataSource>, InitializingBean, DisposableBean
A subclass of EmbeddedDatabaseFactory that implements FactoryBean for registration as a Spring bean. Returns the actual DataSource that provides connectivity to the embedded database to Spring. The target DataSource is returned instead of an EmbeddedDatabase proxy since the FactoryBean will manage the initialization and destruction lifecycle of the embedded database instance. Implements DisposableBean to shutdown the embedded database when the managing Spring container is being closed. |
|
open class OutputStreamFactory
Internal helper for exposing dummy OutputStreams to embedded databases such as Derby, preventing the creation of a log file. |