Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Cache and alwaysRefresh

To 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.


Edilson-2 wrote:
> 
> Hi 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/
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/Cache-and-alwaysRefresh-tp24467190p24481963.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top