Re: [JBoss-user] Retrieving large lists

2003-03-19 Thread Pete Beck
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)

[JBoss-user] Retrieving large lists

2003-03-18 Thread Pete Beck
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

Re: [JBoss-user] Retrieving large lists

2003-03-18 Thread Felipe Oliveira
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

Re: [JBoss-user] Retrieving large lists

2003-03-18 Thread Philippe de M. Sevestre
: Pete Beck To: [EMAIL PROTECTED] Sent: tera-feira, 18 de maro 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 current method I use, is to use a CMP finder which