mirror of
https://github.com/apache/openjpa.git
synced 2025-02-23 10:57:48 +00:00
OPENJPA-809 finish sentence in docs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f78d5baea0
commit
9427556865
@ -355,6 +355,12 @@ StoreCache cache = oemf.getStoreCache();
|
||||
...
|
||||
</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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user