|Re: [eclipselink-users] Question regarding CacheKey|
The CacheKey is both the key and value of the EclipseLink cache. It also stores additional information such as the invalidate state. The reason is for efficiency and to allow the CacheKey to be used as a meta reference to an object. The CacheKey can also be used without the object reference, and just the primary key. AswinD wrote: > > Looking at the code of CacheKey(and please correct me if Iam wrong but it > appears as if the domain object is part of the CacheKey attribute > definition. May I know the reason why this was designed that way ? > Thanks and regards, > Aswin. > ----- --- http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland http://www.oracle.com/technology/products/ias/toplink/ Oracle TopLink , http://www.eclipse.org/eclipselink/ EclipseLink , https://glassfish.dev.java.net/javaee5/persistence/ TopLink Essentials Wiki: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence , http://wiki.eclipse.org/EclipseLink EclipseLink Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , http://www.nabble.com/EclipseLink-f26430.html EclipseLink , http://www.nabble.com/java.net---glassfish-persistence-f13455.html Glassfish Persistence -- View this message in context: http://www.nabble.com/Question-regarding-CacheKey-tp14371559p14372560.html Sent from the EclipseLink - Users mailing list archive at Nabble.com.
Back to the top