C
chris
Hi,
My users table in an Oracle 8.1.7 DB contains record "abcdefgijk"
and when I use the code as follows I get the expected result
......
con = DriverManager.getConnection(url, "chris", "pass");
Statement select = con.createStatement();
sqlQuery = "select id, data from users where id=1";
........
but when I use the code such like the one below I get the result as hex
string 0x6162636465666768696A6B that I don't want
......
con = DriverManager.getConnection(url, "chris", "pass");
Statement select = con.createStatement(
ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
sqlQuery = "select id, data from users where id=1";
........
I looked for the solution everywhere but i failed.
Could anyone of you explain it to me what has happened here?
Thanks in advance.
Chris
My users table in an Oracle 8.1.7 DB contains record "abcdefgijk"
and when I use the code as follows I get the expected result
......
con = DriverManager.getConnection(url, "chris", "pass");
Statement select = con.createStatement();
sqlQuery = "select id, data from users where id=1";
........
but when I use the code such like the one below I get the result as hex
string 0x6162636465666768696A6B that I don't want
......
con = DriverManager.getConnection(url, "chris", "pass");
Statement select = con.createStatement(
ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
sqlQuery = "select id, data from users where id=1";
........
I looked for the solution everywhere but i failed.
Could anyone of you explain it to me what has happened here?
Thanks in advance.
Chris