You can now use the PersistenceBroker prefetching via OQL.

an example of use is:

                String oql = "select allProductGroups from " + 
ProductGroup.class.getName() + " where groupId <= $1 order by groupId prefetch 
allArticlesInGroup";

Notice the prefetch statement comes at the end of the query.

Please see OQLTest#testPrefetchQuery for a working example.

cheers,
Matthew

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to