Author: pcl Date: Fri Nov 17 21:59:20 2006 New Revision: 476453 URL: http://svn.apache.org/viewvc?view=rev&rev=476453 Log: added docs for openjpa.Id property
Modified: incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml Modified: incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml?view=diff&rev=476453&r1=476452&r2=476453 ============================================================================== --- incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml (original) +++ incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml Fri Nov 17 21:59:20 2006 @@ -1853,6 +1853,29 @@ or flush before running it against the datastore. </para> </section> + <section id="openjpa.Id"> + <title>openjpa.Id</title> + <indexterm zone="openjpa.Id"> + <primary>Id</primary> + </indexterm> + <para> + <emphasis role="bold">Property name:</emphasis> + <literal>openjpa.Id</literal> + </para> + <para> + <emphasis role="bold">Resource adaptor config-property:</emphasis> + <literal>Id</literal> + </para> + <para> + <emphasis role="bold">Default:</emphasis> none + </para> + <para> + <emphasis role="bold">Description:</emphasis> An + environment-specific identifier for this configuration. This + might correspond to a JPA persistence-unit name, or to some other + more-unique value available in the current environment. + </para> + </section> <section id="openjpa.InverseManager"> <title> openjpa.InverseManager Modified: incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml?view=diff&rev=476453&r1=476452&r2=476453 ============================================================================== --- incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml (original) +++ incubator/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml Fri Nov 17 21:59:20 2006 @@ -248,15 +248,14 @@ format: </para> <para> -<literal>millis</literal><literal>level</literal> [<literal>thread -name</literal>] <literal>channel</literal> - <literal>message</literal> +<literal>millis</literal> <literal>diagnostic context</literal> <literal>level</literal> [<literal>thread name</literal>] <literal>channel</literal> - <literal>message</literal> </para> <para> For example, when loading an application that uses OpenJPA, a message like the following will be sent to the <literal>openjpa.Runtime</literal> channel: </para> <programlisting> -2107 INFO [main] openjpa.Runtime - Starting OpenJPA 4.0.0 +2107 INFO [main] openjpa.Runtime - Starting OpenJPA 0.9.7 </programlisting> <para> The default logging system accepts the following parameters: @@ -280,7 +279,8 @@ <listitem> <para> <literal>DiagnosticContext</literal>: A string that will be prepended to all -log messages. +log messages. If this is not supplied and a <literal>openjpa.Id</literal> +property value is available, that value will be used. </para> </listitem> <listitem>