I'm running into an issue with a query my Java app is executing against an Oracle DB. Taking the query from exception and replacing the parameters (denoted as ? in the exception log) has it running fine in the DBA tool.
So I want to get a good look at the parameters being set in the final query that's actually being passed to Oracle, and I can't find a clear way to grab that from the @Select annotation.
I've been curious on doing that for a while, so this question is specifically about if it's possible to grab that parameterized query being sent to Oracle, not the specific query or error I'm getting. Appreciate the help.