cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <lon.varsc...@gmail.com>
Subject QueryCache scope
Date Wed, 08 Nov 2017 23:08:35 GMT
Hey all,

I would have bet large sums of money that a custom implementation of
QueryCache would result in a new QueryCache object per context (local).
However, it looks like a NestedQueryContext gets created and only one
instance of the specified QueryCache is created (in DataContextFactory).

I'd really love to have local caches dumped when the ObjectContext goes
away (assuming it's a localCache).  Is this possible?  Thoughts?

Thanks!

-Lon

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message