[jboss-user] [JBoss Seam] - @DataModel == ListDataModel ???

dajevtic do-not-reply at jboss.com
Fri Mar 9 21:16:11 EST 2007


Hello everyone,
I have a question regarding the @DataModel annotation regarding large result sets (> 100.000):
When I do a getResultList on the entityManager and I annotate the List with @DataModel, are all records fetched at once?
I am playing with the datascroller tag of richfaces and it looks to me if, even when I set the rows property to 20, still all records are fetched from the database.
Is there a way to just fetch the amount of records, that I will actually see on the page using seam or do I have to implement pagination completely by myself?
Can somebody clarify please...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026822#4026822

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026822



More information about the jboss-user mailing list