cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1436) QueryCacheFactory shouldn't depend on DataContextFactory
Date Fri, 28 May 2010 06:35:36 GMT

    [ 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.


Mime
View raw message