Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: Re[eclipselink-users] freshing lists

You could switch off the shared cache: As of JPA2 you can achieve this by


into your persistence.xml. For EclipseLink the shared-cache is activated by

-- Frank

Christopher Piggott-2 wrote:
> Hi,
> Here's the thing I'm not getting.  When I do the first query it takes
> a fairly long time as it gathers up all the data.  When I do the
> second and subsequent queries it takes no time at all.  It doesn't
> consult the database at all; it just looks in the cache.
> I can see how to do en.refresh(anItem) but what I want to do is cause
> it to refresh the ENTIRE LIST.  The problem is, this web service isn't
> the only thing accessing this data - external applications are
> constantly adding and updating records.
> --Chris

View this message in context:
Sent from the EclipseLink - Users mailing list archive at

Back to the top