cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schröder <Peter.Schroe...@freenet-ag.de>
Subject clear caches
Date Wed, 03 Jan 2007 13:02:20 GMT
hi and happy new year,

i am looking for a method that tells cayenne to clear all cached objects, so that i can be
sure the context will read fresh data from database next time a query is performed.

i found these:

	context.getEntityResolver().clearCache();
	context.getObjectStore().getDataRowCache().clear();

kind regards,
peter

Mime
View raw message