[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] Cache and alwaysRefresh
|
On Tue, Jul 14, 2009 at 10:33 AM, James Sutherland
<jamesssss@xxxxxxxxx> wrote:
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.
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
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/