Peter Barraud  (2001-10-01  10:53):
>Hi,
>I have an applet that displays some database data, but I need to do 
>paging
>so I show the user the record count at the top of the page
>something like
>Recodset 1 - 10 of 23
>The problem is that I am using jdbc but am unable to get the size of 
>the resultset I tried the resultset method getFetchSize()
>the code compiles fine, but when I execute it I get this error:
>Exception in thread "main" java.lang.AbstractMethodError
>        at records.main(records.java:31)
>can anybody give some solution for either this problem or if there is
>another method to return the number of records contained in the 
>resultset

Check what support of JDBC you have for your specifik driver.
Not all drivers support for instance getFetchSize(), please have 
a look at 
http://java.sun.com/j2se/1.3/docs/api/java/sql/package-summary.html#2.0%20API

And then verify what your jdbc-driver supports for version


Yours sincerely
Peter Norell
SchlumbergerSema, Sweden
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing
  • jdbc Peter Barraud
    • Norell Peter

Reply via email to