You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2010/05/28 08:35:36 UTC

[jira] Commented: (CAY-1436) QueryCacheFactory shouldn't depend on DataContextFactory

    [ https://issues.apache.org/jira/browse/CAY-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872879#action_12872879 ] 

Andrus Adamchik commented on CAY-1436:
--------------------------------------

For the record here is the thread link: http://markmail.org/message/qt74qxslnqwkhzh3 

Another problem mentioned was that SHARED_CACHE wasn't working. Not sure if that's related.

> QueryCacheFactory shouldn't depend on DataContextFactory
> --------------------------------------------------------
>
>                 Key: CAY-1436
>                 URL: https://issues.apache.org/jira/browse/CAY-1436
>             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.