AutoConfigureTestDatabase
@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Inherited @ImportAutoConfiguration @PropertyMapping(value="spring.test.database") @Deprecated public @interface AutoConfigureTestDatabase
DataSource
.Modifier and Type | Optional Element and Description |
---|---|
EmbeddedDatabaseConnection |
connection
Deprecated.
The type of connection to be established when
replacing the data
source. |
AutoConfigureTestDatabase.Replace |
replace
Deprecated.
Determines what type of existing DataSource beans can be replaced.
|
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 © 2017 Pivotal Software, Inc.. All rights reserved.