On Tue, 2003-03-18 at 23:09, Philippe de M. Sevestre wrote:
> How often does the data from which you populate your pull-down changes ?
>
> Usually this kind of information is relatively static so you should
> consider caching the resulting bean collection in a session attribute (if
> user specific
: "Pete Beck" <>
To: <[EMAIL PROTECTED]>
Sent: terça-feira, 18 de março de 2003 13:50
Subject: [JBoss-user] Retrieving large lists
> Hi,
> My application frequently needs to grab a large number of entities from
> the database to populate drop down lists.
>
> The
if you are using cmp 2 i suggest you to look at the read-ahead
parameters on the jboss cmp doc.
Pete Beck wrote:
Hi,
My application frequently needs to grab a large number of entities from
the database to populate drop down lists.
The current method I use, is to use a CMP finder which returns a
on you finder use a read-ahead strategy on-find or on-load + a load-group
that contains only the field you need to load.
with latest xdoclet :
* @jboss.query
*signature="java.util.Collection findSomething()"
*strategy="on-load"
*page-size="10"
*eager-load-group="lightweight"
Hi,
My application frequently needs to grab a large number of entities from
the database to populate drop down lists.
The current method I use, is to use a CMP finder which returns a bunch
of entities. I then iterate through the list grabbing the values I need
to populate the list.
But, it is to