From 58539dd83369c3a64907bc22c418ba8684e29274 Mon Sep 17 00:00:00 2001 From: "Richard G. Curtis" Date: Fri, 2 Oct 2009 19:51:55 +0000 Subject: [PATCH] OPENJPA-250: Update user manual. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821144 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/doc/manual/ref_guide_conf.xml | 47 +++++++++++++++++++ .../src/doc/manual/ref_guide_meta.xml | 28 +++++++++++ 2 files changed, 75 insertions(+) diff --git a/openjpa-project/src/doc/manual/ref_guide_conf.xml b/openjpa-project/src/doc/manual/ref_guide_conf.xml index 31bdbeae8..84e396d21 100644 --- a/openjpa-project/src/doc/manual/ref_guide_conf.xml +++ b/openjpa-project/src/doc/manual/ref_guide_conf.xml @@ -2467,6 +2467,53 @@ retrieve metadata for your persistent classes. See for details. + +
+ + openjpa.MetaDataRepository + + + + MetaDataRepository + + + + + metadata + + + MetaDataRepository + + + +Property name: openjpa.MetaDataRepository + + + +Configuration API: + +org.apache.openjpa.conf.OpenJPAConfiguration.getMetaDataRepository + + + +Resource adaptor config-property: +MetaDataRepository + + + Default:none + + +Description: A plugin string (see +) describing the + +openjpa.meta.MetaDataRepository to use to store and +retrieve metadata for your persistent classes. See + for details. + +
+ + +
openjpa.Multithreaded diff --git a/openjpa-project/src/doc/manual/ref_guide_meta.xml b/openjpa-project/src/doc/manual/ref_guide_meta.xml index f3b1c26db..2bf65edfd 100644 --- a/openjpa-project/src/doc/manual/ref_guide_meta.xml +++ b/openjpa-project/src/doc/manual/ref_guide_meta.xml @@ -119,6 +119,34 @@ scanned for annotated JPA entities. </programlisting> </example> </section> + <!-- start added --> + <section id="ref_guide_meta_repository"> + <para>The openjpa.MetaDataRepository configuration property controls the configuration of + the MetaDataRepository. The following are valid properties:</para> + <itemizedlist> + <listitem><para> + <literal>Preload</literal>: A boolean property. If true, OpenJPA will eagerly load the repository on + EntityManagerFactory creation. As a result, all Entity classes will be eagerly loaded by the JVM. If + false, the repository will be lazily loaded as Entity classes are loaded by the JVM. The default value + is false. + </para> + </listitem> + <listitem><para> + <literal>NoLock</literal>: If true, the repository will be treated as a read only data structure and + minimal locking will be imposed on users. Preload must be set to true for OpenJPA to honor setting + NoLock to true. The default value is false. + </para> + </listitem> + </itemizedlist> + + <title>Metadata Repository + + +<property name="openjpa.MetaDataRepository" value="Preload=true,NoLock=true"/> + + +
+
Additional JPA Metadata