@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Inherited @ImportAutoConfiguration @PropertyMapping(value="spring.test.database") public @interface AutoConfigureTestDatabase
DataSource
.TestDatabaseAutoConfiguration
Modifier and Type | Optional Element and Description |
---|---|
EmbeddedDatabaseConnection |
connection
The type of connection to be established when
replacing the data
source. |
AutoConfigureTestDatabase.Replace |
replace
Determines what type of existing DataSource beans can be replaced.
|
@PropertyMapping(skip=ON_DEFAULT_VALUE) public abstract AutoConfigureTestDatabase.Replace replace
public abstract EmbeddedDatabaseConnection connection
replacing
the data
source. By default will attempt to detect the connection based on the classpath.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.