Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotations ignored on superclass #103

Open
gionn opened this issue Apr 27, 2016 · 2 comments
Open

Annotations ignored on superclass #103

gionn opened this issue Apr 27, 2016 · 2 comments

Comments

@gionn
Copy link

gionn commented Apr 27, 2016

Hi,

I was trying out the new 1.3.0 version, and it looks like that @DatabaseSetup and @DatabaseTearDown on a superclass gets ignored, while in 1.1.0 they are working fine.

Has something changed about annotations processing?

@dsteegen
Copy link

dsteegen commented Jul 3, 2016

Hello,

I just upgraded my dbunit tests from 1.0.0 to 1.3.0 and I noticed the same issue as described by @gionn. The @DatabaseSetup annotations are being ignored from my abstract super class. Is this really a bug? Or is there an alternative to achieve the same?
I can't stick with 1.0.0 as I also upgraded Spring to 4.3.0.RELEASE. Having to repeat the annotation on every subclass is the only workaround I have for now.

@gavvvr
Copy link

gavvvr commented Sep 4, 2017

Having to repeat the annotation on every subclass is the only workaround I have for now.

I also did not find another workaround. It definitely must be fixed.

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

No branches or pull requests

3 participants