| Author |
Strange problem help
|
adeeb alexander
Ranch Hand
Joined: May 29, 2008
Posts: 267
|
|
Hi all.
I want to retrieve a column from DB. I have done as usual, i don't get the output. Look at the code. I get the out put if i give the value directly in the query i.e('adeeb'). If i try to set the String using preparedStatement. There is no output
The code when i used to set the string is here:
Somebody please help me out i can't understand whats happening.
Thanks and regards
alexander
|
 |
Scott Selikoff
Saloon Keeper
Joined: Oct 23, 2005
Posts: 3673
|
|
|
It's a long shot, but it could be character encoding. In general, though, these two should return the same results I'd do some more general debugging. Grab a debug driver that outputs SQL queries and/or turn on query monitoring so that you can see what's being executed on the server.
|
My Blog: Down Home Country Coding with Scott Selikoff
|
 |
 |
|
|
subject: Strange problem help
|
|
|