openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Snaps <>
Subject EntityManagerFactory clearing caches on close()?
Date Thu, 03 Feb 2011 16:58:02 GMT
Hi guys,
I've not investigated that much at the code level yet, but it seems
EntityManagerFactory.close() calls AbstractQueryCache.close() which in
turn calls clearInternal(). As a result a distributed query cache ends
up cleared when a node is shut down. This only seems to happen on the
query cache though. Is it meant that way? If so, does that mean a
query cache shouldn't be clustered?

Alex Snaps <>
Senior Software Engineer - Terracotta

View raw message