problem with scrollable result set

hi

can u please tell me how i can get no of rows from a result set..

i am using thin drivers and connecting to remote database,every thing is working fine if i use fwd only type ,but if u use sensitive type it is giving error

code:

stmt=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);

i am geting error at this line

error :

java.lang.AbstractMethodError:oracle/jdbc/driver/oracleconnection.createStatement

please help me

[522 byte] By [akulakiran] at [2007-9-26 4:11:05]
# 1

does your jdk include jdbc 2.0? Is your driver updated to support jdbc 2.0 features? have you recently updated either(and forgot to change the classpath)?

I am running jdk 1.3 and oracle thin(classes12.zip) have not had problems creating/using scrollable resultsets?

Jamie

jlrober at 2007-6-29 13:15:37 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2

does your jdk include jdbc 2.0? Is your driver updated to support jdbc 2.0 features? have you recently updated either(and forgot to change the classpath)?

I am running jdk 1.3 and oracle thin(classes12.zip) have not had problems creating/using scrollable resultsets?

Jamie

jlrober at 2007-6-29 13:15:38 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...