Author: mtylenda
Date: Sat Oct 10 19:45:18 2009
New Revision: 823926

URL: http://svn.apache.org/viewvc?rev=823926&view=rev
Log:
OPENJPA-1321: Documentation corrections for SequenceGenerator and 
OracleDictionary properties provided by Brian Kalbfus

Modified:
    openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
    openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_runtime.xml

Modified: 
openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
URL: 
http://svn.apache.org/viewvc/openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml?rev=823926&r1=823925&r2=823926&view=diff
==============================================================================
--- openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml 
(original)
+++ openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml 
Sat Oct 10 19:45:18 2009
@@ -3428,7 +3428,7 @@
 <literal>AutoAssignSequenceName</literal>: The global name of the sequence that
 OpenJPA will assume to hold the value of primary key value for rows that use
 auto-increment. If left unset, OpenJPA will use a sequence named <literal>
-"SEQ_&lt;table name&gt;"</literal>.
+"&lt;table name&gt;_&lt;column name&gt;_SEQ"</literal>.
                     </para>
                 </listitem>
                 <listitem id="OracleDictionary.MaxEmbeddedBlobSize">

Modified: 
openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_runtime.xml
URL: 
http://svn.apache.org/viewvc/openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_runtime.xml?rev=823926&r1=823925&r2=823926&view=diff
==============================================================================
--- openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_runtime.xml 
(original)
+++ openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_runtime.xml 
Sat Oct 10 19:45:18 2009
@@ -1679,7 +1679,7 @@
 
     @Id
     @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="AuthorSeq")
-    @SequenceGenerator(name="AuthorSeq" sequence="table(Table=AUTO_SEQ, 
Increment=100)")
+    @SequenceGenerator(name="AuthorSeq", sequenceName="table(Table=AUTO_SEQ)", 
allocationSize=100)
     @Column(name="AID")
     private long id;
  
@@ -1689,10 +1689,10 @@
             <para>
 Note that if you want to use a plugin string without any arguments, you must
 still suffix the plugin type with <literal>()</literal> to differentiate it 
from
-a sequence name in the <literal> SequenceGenerator.sequence</literal> 
attribute:
+a sequence name in the <literal>SequenceGenerator.sequenceName</literal> 
attribute:
             </para>
 <programlisting>
-...@sequencegenerator(name="AuthorSeq", sequence="table()")
+...@sequencegenerator(name="AuthorSeq", sequenceName="table()")
 </programlisting>
         </example>
         <para>


Reply via email to