List:MySQL and Java« Previous MessageNext Message »
From:Lauri Faloon Date:March 6 2000 5:57pm
Subject:MM driver CachedRowSet size
View as plain text  
Does the CachedRowSet size() -method work with the mm driver? I'm using
the latest 2.0pre5 version with the following code:

import javax.sql.*;
import sun.jdbc.rowset.*;

//PreparedStatement...
// executeQuery & rs.getxxx

CachedRowSet crset = new CachedRowSet();
crset.populate(rs);
int x = crset.size();

Despite the number of results from the query the only result  I receive is
a 0!

It doesn't seem to make any difference wether  the CachedRowSet
snippet is before or after the resultset.next() loop.

Lauri Faloon
faloon@stripped

Thread
MM.Mysql Driver errorAshish bisarya5 Mar
  • Re: MM.Mysql Driver errorCris Perdue6 Mar
    • MM driver CachedRowSet sizeLauri Faloon6 Mar
  • Re: MM.Mysql Driver errorThanush Thamban7 Mar
    • Re(2): MM.Mysql Driver errorLeigh Daniels7 Mar