You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pp...@apache.org on 2009/11/14 00:04:53 UTC
svn commit: r836052 -
/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_criteria.xml
Author: ppoddar
Date: Fri Nov 13 23:04:53 2009
New Revision: 836052
URL: http://svn.apache.org/viewvc?rev=836052&view=rev
Log:
Document MetaModel generator tool usage.
Modified:
openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_criteria.xml
Modified: openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_criteria.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_criteria.xml?rev=836052&r1=836051&r2=836052&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_criteria.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_criteria.xml Fri Nov 13 23:04:53 2009
@@ -169,13 +169,14 @@
This tool is invoked during compilation for JDK6 compiler if OpenJPA and JPA
libraries are specified in the compiler <code>-processorpath</code> option.
<programlisting>
- $ javac -processorpath path/to/openjpa-all.jar mypackage/MyEntity.java
+ $ javac -processor org.apache.openjpa.persistence.meta.AnnotationProcessor6 -processorpath path/to/openjpa-all.jar mypackage/MyEntity.java
</programlisting>
will generate source code for canonical meta-model class <code>mypackage.MyEntity_.java</code>.
</para>
<para>
-The Annotation Processor recognizes the following options (none of them are mandatory):
+The Annotation Processor recognizes the following options specified in the command-line with <code>-A</code>
+(none of them are mandatory):
<itemizedlist>
<listitem>
<para>