IMHO using CMR accessors for retrieving the objects on the many-side of a relationship instead of using a finder could yield better performance in certain scenarios. Here's why: the persistence manager always has to sync all in-memory changes of persistent objects to the database right before executing the finder (according to EJB spec). AFAIR in case of using the CMR accessor this is not necessary.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856498#3856498 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856498 ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
