rcovington
09-04-2003, 04:59 AM
I am accessing an Oracle database using the thin JDBC driver which has a column in a table that contains a valid Windows path full of backslashes (ie. C:\Windows\notepad.exe).
When I read this column from my resultset the .getString method like all good String objects converts the backslashes to the special characters represented by them. (resulting in C:Windowsnotepad.exe).
Unfortunately, in this case, I do not have "control" of the application writing to this database so I cannot have it convert the single backslashes to double backslashes when it stores the string.
What is the best way for me to read a "raw" string from a Text column and NOT have it interpret the backslashes?
I appreciate any help anyone can provide.
Take care *** Bobc
When I read this column from my resultset the .getString method like all good String objects converts the backslashes to the special characters represented by them. (resulting in C:Windowsnotepad.exe).
Unfortunately, in this case, I do not have "control" of the application writing to this database so I cannot have it convert the single backslashes to double backslashes when it stores the string.
What is the best way for me to read a "raw" string from a Text column and NOT have it interpret the backslashes?
I appreciate any help anyone can provide.
Take care *** Bobc