Article:
 |
|
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,
http://java.sun.com/j2se/1.5.0/docs/api/index.html
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.
|
Showing messages 1 through 1 of 1.
-
javax.sql.rowset.CachedRowSet
2004-11-27 10:36:41
Fuad
[View]