Skip to content

Conversation

@dsteegen
Copy link

@dsteegen dsteegen commented Feb 15, 2017

Hi,

This pull request should fix issue #103. The class DbUnitRunner will now use the overloaded findAnnotation method on the org.springframework.core.annotation.AnnotationUtils class in Spring Core that takes a Class<?> as an argument opposed to AnnotatedElement. The latter will only look for the annotation on the given class while the other methods tries to look on it's parent classes/interfaces if the annotation is not present on the given class itself.

This reintroduces the behaviour from older version of spring-test-dbunit.

@ppodgorsek
Copy link

This fix has been done in a maintained repository: https://github.com/ppodgorsek/spring-test-dbunit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants