Home > Archive > SQL Anywhere database > June 2005 > JODBC bug?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JODBC bug?
TDietz

2005-06-17, 3:24 am

Hi all!

I 'm using ASA 9.0.2 Win32.
I want to switch from jconnect to JODBC-Bridge, but I get an error at
following code. By using Jconnect there is no problem and JODBC
supports this type.

stmt = conn. createStatement(Resu
ltSet. TYPE_SCROLL_INSENSIT
IVE,
ResultSet.CONCUR_READ_ONLY);
rs = stmt.executeQuery(sql.toString());
int row = 0;
if (rs.last()) {
row = rs.getRow();
rs.beforeFirst();
}

After rs.last() the cursor is always -1.

Knows anybody a solution or can help me?

Thanks,
TDietz

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com