
[jruby] do_oracle: not showing parameter values in debug log output
Reported by Alex Coles | March 25th, 2011 @ 12:32 PM
Reproducible with:
- Oracle 10g (OS X)
Example debug log output:
DEBUG - [25/Mar/2011 17:56:52] "(0.002) SELECT "ID", "CODE", "NAME" FROM "LANGUAGES" WHERE ("CODE" = ?)"
DEBUG - [25/Mar/2011 17:56:52] "(0.083) SELECT "ID", "LANGUAGE_ID", "LOCATION_ID", "TITLE", "BODY" FROM "LOCATION_TRANSLATIONS" WHERE ("LOCATION_ID" IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)) ORDER BY "ID""
@Raimonds can you take this on? or do you want me to look at it? Looks like the field reflection that's needed to get values is broken?
Comments and changes to this ticket
-
Raimonds Simanovskis March 25th, 2011 @ 04:04 PM
Was investigating this issue when I was building do_oracle but unfortunately there is no API in Oracle JDBC which could reflect on values of bind parameters.
See my question on StackOverflow but I didn't get any answer that I could use.
http://stackoverflow.com/questions/1130886/how-to-get-values-of-bin... -
Alex Coles March 25th, 2011 @ 04:17 PM
OK thanks for the clarification! I wasn't sure if this was a regression or not.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »