You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mi...@apache.org on 2009/01/23 23:00:49 UTC

svn commit: r737205 - /openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_caching.xml

Author: mikedd
Date: Fri Jan 23 14:00:48 2009
New Revision: 737205

URL: http://svn.apache.org/viewvc?rev=737205&view=rev
Log:
OPENJPA-809 finish sentence in docs

Modified:
    openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_caching.xml

Modified: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_caching.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_caching.xml?rev=737205&r1=737204&r2=737205&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_caching.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_caching.xml Fri Jan 23 14:00:48 2009
@@ -355,6 +355,12 @@
 ...
 </programlisting>
 Alternatively you can just cast the same object returned from 
+the EntityManager.getCache() method.
+<programlisting>
+import org.apache.openjpa.persistence.StoreCache;
+...
+StoreCache cache = (StoreCache) emf.getCache();
+</programlisting>
             </example>
 <programlisting>
 public void evict(Class cls, Object oid);