|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Cache and alwaysRefreshHi all,
I'm developing a frontend for AS400 app, this one has around 1200 users making CRUD by console. In EclipseLink wiki[1] doesn't recommend disable cache[2], but in this case, cache will be useless because an external app is updating data continuously. Do you have a suggestion to manage consistant cache? [1] http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#How_to_Use_the_.40Cache_Annotation [2] <property name="eclipselink.cache.type.default " value="NONE"/> Best regards, -- John Arévalo GNU/Linux User #443701 http://counter.li.org/ _______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users |
|
|
Re: Cache and alwaysRefreshTo disable the cache you should use the persistence property "eclipselink.cache.shared.default"="false". The cache type NONE option, is not recommended as it removes the cache entirely, not just the shared cache, so can have issues.
James Sutherland EclipseLink, TopLink Wiki: EclipseLink, TopLink Forums: TopLink, EclipseLink Book: Java Persistence |
|
|
Re: Cache and alwaysRefreshOn Tue, Jul 14, 2009 at 10:33 AM, James Sutherland <jamesssss@...> wrote:
Thanks James. Now cache has been disabled. For anyone, if you put this property in persistence.xml all your @Entity class shouldn't have @Cache annotation... i had that problem :) Best Regards, -- John Arévalo GNU/Linux User #443701 http://counter.li.org/ _______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users |
| Free embeddable forum powered by Nabble | Forum Help |