mirror of https://github.com/apache/openjpa.git
fix line width
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@908743 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
905289dff4
commit
98b884bc2a
|
@ -222,7 +222,10 @@ public class Employee {
|
|||
<primary>caching</primary>
|
||||
<secondary>exclusions</secondary>
|
||||
</indexterm>
|
||||
Entities may be explicitly excluded from the cache by providing a list of fully qualified class names in the ExcludedTypes argument. The entities provided via ExcludedTypes will not be cached regardless of the @DataCache annotation.
|
||||
Entities may be explicitly excluded from the cache by providing a
|
||||
list of fully qualified class names in the ExcludedTypes argument.
|
||||
The entities provided via ExcludedTypes will not be cached
|
||||
regardless of the @DataCache annotation.
|
||||
</para>
|
||||
<example id="ex_exclude_types_from_cache">
|
||||
<title>
|
||||
|
@ -231,7 +234,7 @@ public class Employee {
|
|||
<para>
|
||||
Exclude entities foo.bar.Person and foo.bar.Employee from the cache.
|
||||
<programlisting>
|
||||
<property name="openjpa.DataCache" value="true(ExcludedTypes=foo.bar.Person;foo.bar.Employee)"/>
|
||||
<property name="openjpa.DataCache" value="true(ExcludedTypes=foo.bar.Person;foo.bar.Employee)"/>
|
||||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
|
@ -241,7 +244,11 @@ public class Employee {
|
|||
<primary>caching</primary>
|
||||
<secondary>inclusions</secondary>
|
||||
</indexterm>
|
||||
Entities may be explicitly included from the cache by providing a list of fully qualified class names in the Types argument. The entities provided via ExcludedTypes will not cached regardless of the @DataCache annotation. Any entities which are not included in this list will not be cached.
|
||||
Entities may be explicitly included from the cache by providing a
|
||||
list of fully qualified class names in the Types argument. The
|
||||
entities provided via ExcludedTypes will not cached regardless
|
||||
of the @DataCache annotation. Any entities which are not included
|
||||
in this list will not be cached.
|
||||
</para>
|
||||
<example id="ex_include_types_in_cache">
|
||||
<title>
|
||||
|
@ -250,7 +257,7 @@ public class Employee {
|
|||
<para>
|
||||
Include only entity foo.bar.FullTimeEmployee from the cache.
|
||||
<programlisting>
|
||||
<property name="openjpa.DataCache" value="true(Types=foo.bar.FullTimeEmployee)"/>
|
||||
<property name="openjpa.DataCache" value="true(Types=foo.bar.FullTimeEmployee)"/>
|
||||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
|
|
Loading…
Reference in New Issue