We have a very simple prototype that contains a couple of entity beans. The test code basically just selects from one table and returns the entity bean that is mapped to it. We have set the read-ahead strategy to "on-load" (and on-find too) and the page-size to 1000. However, when the select is run, it is only returning about 255 records and then another select statement is called again. Is there some configuration that I am missing or is this a database thing or something else?
FYI, I am using JBoss 3.0.0 with Oracle 8i.
Thanks in advance,
Try the examples in the JBossCMP documentation available from FlashLine ($10). There was a bug in the declaration of read-ahead at the entity level.