cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] Commented: (CAY-1436) QueryCacheFactory shouldn't depend on DataContextFactory
Date Sun, 30 Jan 2011 11:22:43 GMT


Andrus Adamchik commented on CAY-1436:

I should mention that the old DataContextFactory is gone in 3.1 (there's another DataContextFactory
in org.apache.cayenne.configuration.server package that works differently and is related to
DI). So this is sort of fixed in a big picture. 

> QueryCacheFactory shouldn't depend on DataContextFactory
> --------------------------------------------------------
>                 Key: CAY-1436
>                 URL:
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.0
>            Reporter: Bryan Lewis
> As discussed in the mailing list thread "Removing Cayenne cache groups"... 
> I couldn't get OSCache to be configured at first.  I stepped through the code and learned
that the queryCacheFactory isn't created unless the dataContextFactory is also specified.
 (In DataDomain.initWithProperties().)  Those two things shouldn't be interdependent.  (I
was able to work around it by specifying a no-op DataContextFactory.)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message