my dog learned polymorphism*
The moose likes JDBC and the fly likes CachedRowSet with JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "CachedRowSet with JSF" Watch "CachedRowSet with JSF" New topic
Author

CachedRowSet with JSF

Avais Shaikh
Greenhorn

Joined: Dec 21, 2005
Posts: 2
I have used CachedRowSet in JSP and it is quite simple iterating it on the page and also I can acces the CachedRowSet elements by the getString() or getInt() methods that are mapped to the query.

But now the problem is that I cannot use it in JSF the same way.. Can anyone please provide me an way to use CachedRowSet in JSF


Avais
Nuruddin Bawangaonwala
Greenhorn

Joined: Jul 27, 2006
Posts: 2
can u please specify problem that u have with cachedrowset while using it with jsf....
Avais Shaikh
Greenhorn

Joined: Dec 21, 2005
Posts: 2
Actually I am new to JSF...

Just I want to know how to use CachedRowSet in JSF


Thanks
Nuruddin Bawangaonwala
Greenhorn

Joined: Jul 27, 2006
Posts: 2
Once u have CachedRowSet use cachedRowSet.toColection() method and then use that collection.Because as far as I Know jsf supports collection
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CachedRowSet with JSF
 
Similar Threads
Using CachedRowSet
Performace of accessing db recs
reading cachedRowSet
accessing resultSet
Problem with sun.jdbc.rowset.CachedRowSet