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);