Re: More on caching

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri May 28 2010 - 06:28:24 UTC

  • Next message: Gary Jarrel: "Re: More on caching"

    On May 28, 2010, at 9:20 AM, Gary Jarrel wrote:

    > I would expect that the the second query q2 would not execute any SQL
    > however the QueryLogger logs the second select statement.

    The second query has no cache group or cache strategy in your example,
    so it is not using caching.

    > Also the assert on the query cache size fails the it appears the size
    > is zero rather than 1 as I would have expected.

    is domain.getQueryCache().size() also returning zero?

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri May 28 2010 - 06:28:58 UTC