mirror of
https://github.com/apache/openjpa.git
synced 2025-02-28 13:39:11 +00:00
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:
parent
0e8cf0dc0b
commit
47a90dae98
@ -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_<table name>"</literal>.
|
"<table name>_<column name>_SEQ"</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem id="OracleDictionary.MaxEmbeddedBlobSize">
|
<listitem id="OracleDictionary.MaxEmbeddedBlobSize">
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user