Using CachedRowSet to Transfer JDBC Query Results Between Classes
Subject:   javax.sql.rowset.CachedRowSet
Date:   2004-11-27 10:29:09
From:   Fuad
Even section 10.0 of API contains this mistake,

CachedRowSetImpl crs =
new CachedRowSetImpl();

It is better to use interface javax.sql.rowset.CachedRowSet available with JDK 1.5, or with rowset.jar:

CachedRowSet crs =
new CachedRowSetImpl();

From my experience, ResultSet and Collections of JavaBeans work very fast. CachedRowSet on WebLogic takes 2-3 minutes to populate 100 rows on JSP, and ResultSet with JavaBeans - only a few seconds.

1 to 1 of 1
  1. javax.sql.rowset.CachedRowSet
    2004-11-27 10:36:41  Fuad [View]

1 to 1 of 1