openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From killbulle <marco.go...@gmail.com>
Subject DataCache on Class with a collection of DataCache off -> n+1 select
Date Mon, 20 Sep 2010 16:00:36 GMT

Hi ,
we encounters a recently a little performance problem
A class product(cached)  have a map off inventory (not Cached)
when we retrieve the product in a new Entitymanager it generate a n+1 select
with a find all 
method.
Is there a way to not cache the collection stub (1 - inventory...) ?
Regards
Marc

-- 
View this message in context: http://openjpa.208410.n2.nabble.com/DataCache-on-Class-with-a-collection-of-DataCache-off-n-1-select-tp5551060p5551060.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message