DBRider integration with AgroalDataSource #41027
nicklasweasel
started this conversation in
Community
Replies: 2 comments 2 replies
-
Do you need to inject the |
Beta Was this translation helpful? Give feedback.
2 replies
-
The odd thing is that it if I make a plain java project, including
and do a
I see the output (and it bombs because of the null connection) If I start with code-with-quarkus and do the same thing, the connectionHolder is never called (and the test bombs out with no connection). It's a bit odd that just being in a Quarkus project (no @QuarkusTest) should make DBRider skip the ConnectionHolder |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Anyone managed to integrate DBRider with @QuarkusTest?
if I comment out @dbrider, the test is executed fine but with the integration enabled, I get an error about "this.agroalDataSource" is null". If I move to constructor injection and place a breakpoint there, I can actually see that the constructor is called twice, the first time with a null agroalDataSource and the second time with a valid one.
Another odd thing is that if I make the connectionHolder lambda breakpointable, I never see it hit before it goes kaboom.
Any pointers or experiences?
Beta Was this translation helpful? Give feedback.
All reactions