Easy... Just use Hibernate's row limit features in
conjuction with the paginator.

[EMAIL PROTECTED]

--- Slawek <[EMAIL PROTECTED]> wrote:
> hi
> 
> suppose we have table in database containing many
> records (more than 10 
> 000) and we want to display them in table...
> obiously we use paginator:)
> 
> but we dont want to get all record form databese
> cause we need to wrap 
> them "in fly" (or sth) - hevermind, lets just say
> that we can get at once 
>  from datatabse only 100 records (cause our table is
> set to show ony 100 
> rows).
> geting all 10 000 records and doing sht "in fly"
> would kill performance:/
> 
> but to use paginator we must get all rows (paginator
> "take care" about 
> counting and so on)
> 
> is there any poibility to use standard paginator and
> not fetching all rows 
> at once from database?
> 
> S�awek
> 

Reply via email to