"JDBC resources leaked" when using non-reactive datasources & Kotlin #26167
-
I have the following repository method that is being called by a Quarkus endpoint:
However, whenever this method is called, I see the following message in my IntelliJ console window/log:
Is there something I should be doing differently to perform my database query? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @evanchooly |
Beta Was this translation helpful? Give feedback.
-
Of course I figured out the answer immediately after posting the question. But for posterity and/or in case it proves helpful to anyone else, here is what the updated code block -- that no longer produces the warning -- looks like:
|
Beta Was this translation helpful? Give feedback.
Of course I figured out the answer immediately after posting the question. But for posterity and/or in case it proves helpful to anyone else, here is what the updated code block -- that no longer produces the warning -- looks like: