Closed
Description
When using Spring Data JDBC, it's fairly common to provide a bean that's an AbstractJdbcConfiguration
sub-class. For example, such a sub-class is used to register custom converters used during reading and writing of entities. At the moment, such beans are filtered out by @DataJdbcTest
.
They can be included using a custom filter:
@DataJdbcTest(includeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE,
classes = AbstractJdbcConfiguration.class))
It would be good if this include filter wasn't necessary and AbstractJdbcConfiguration
beans were included automatically.