[Cosmo-dev] Results of Hibernate Propfind initial testing

Brian Moseley bcm at osafoundation.org
Sat Sep 2 11:45:51 PDT 2006


On 9/2/06, rletness at simdeskcorp.com <rletness at simdeskcorp.com> wrote:

> The way it is setup now is that one query is issued to get all the
> children.  This loads all the data from the "item" table.  Then the first
> call to access an item attribute actually results in all the attributes
> for all
> the items loaded in the first query to be loaded.  So it should only
> be two queries.  I'll verify it thats what really happens.  Did you

really? i'd be surprised if that's true, but if so, great. i haven't
actually traced the queries yet, so i can't say for sure.

> update the DavResourceFactory to not make a call to findItemByPath()
> for each child item?   That results in atleast 3 queries for each item.

i did, and that was in r922 which bobby used.


More information about the cosmo-dev mailing list