openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Barker <gerald_bar...@psfc.coop>
Subject Re: FetchGroup and EhCache Datacache
Date Mon, 03 Nov 2014 22:16:36 GMT
Thanks, I don't absolutely need the cache because the throughput rates are not that good. I
kind of expected this, but hoped it would work. 


Gerald 

----- Original Message -----

From: "David Minor-5 [via OpenJPA]" <ml-node+s208410n7587349h51@n2.nabble.com> 
To: "Gerald Barker" <gerald_barker@psfc.coop> 
Sent: Monday, November 3, 2014 5:12:35 PM 
Subject: Re: FetchGroup and EhCache Datacache 

I reported something similar 5 years ago: 

https://issues.apache.org/jira/browse/OPENJPA-1280 

I've long since abandoned the data cache, and just cache things myself 
after retrieval. 

________________________________________ 
From: Gerald Barker < [hidden email] > 
Sent: Monday, November 03, 2014 1:43 PM 
To: [hidden email] 
Subject: FetchGroup and EhCache Datacache 

If I retrieve an object that gets cached (method is Cacheable) according to 
fields in a fetch group in a query and then do another query for the same 
object, but with a different fetch group and fields (more eagerly loaded 
fields) then the second query is resolved in the cache with the eagerly 
fetched fields from the first query, but not the second. 

Is this the expected behavior (it is not the desired behavior). 





-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/FetchGroup-and-EhCache-Datacache-tp7587348.html 
Sent from the OpenJPA Users mailing list archive at Nabble.com. 


-- 
_____________ 
David Minor 





If you reply to this email, your message will be added to the discussion below: http://openjpa.208410.n2.nabble.com/FetchGroup-and-EhCache-Datacache-tp7587348p7587349.html

To unsubscribe from FetchGroup and EhCache Datacache, click here . 
NAML 




--
View this message in context: http://openjpa.208410.n2.nabble.com/FetchGroup-and-EhCache-Datacache-tp7587348p7587350.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message