OPENJPA-1321: Documentation corrections for SequenceGenerator and OracleDictionary properties provided by Brian Kalbfus

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823924 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Milosz Tylenda 2009-10-10 19:28:59 +00:00
parent 0e8cf0dc0b
commit 47a90dae98
2 changed files with 4 additions and 4 deletions

View File

@ -3459,7 +3459,7 @@ auto-increment support, see <xref linkend="ref_guide_pc_oid_pkgen_autoinc"/>
<literal>AutoAssignSequenceName</literal>: The global name of the sequence that <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 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> 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> </para>
</listitem> </listitem>
<listitem id="OracleDictionary.MaxEmbeddedBlobSize"> <listitem id="OracleDictionary.MaxEmbeddedBlobSize">

View File

@ -1713,7 +1713,7 @@ public class Author {
@Id @Id
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="AuthorSeq") @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") @Column(name="AID")
private long id; private long id;
@ -1723,10 +1723,10 @@ public class Author {
<para> <para>
Note that if you want to use a plugin string without any arguments, you must 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 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> </para>
<programlisting> <programlisting>
@SequenceGenerator(name="AuthorSeq", sequence="table()") @SequenceGenerator(name="AuthorSeq", sequenceName="table()")
</programlisting> </programlisting>
</example> </example>
<para> <para>