I have a stateful session bean that keeps a collection of objects selected by 
running a finder marked with on-load read ahead strategy.

Thing is, I think that the next call from my web app to the stateful session 
bean, trying to run through some objects in the collection the preload cache or 
the lists cache is gone and read ahead strategy is not working.
I guess this has to do with the fact that there are two transactions in the 
story involved. In the first the collection is retrieved/selected using the 
finder. Then the second transaction accesses the object in that collection. 

Is this true that the lists cache of the collection is gone when the first 
tranaction is done? If so, then I think that it is wrong, since the stateful 
supposed to be STATEFUL.

Thanks,

Erez

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to