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
|
||||
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_<table name>"</literal>.
|
||||
"<table name>_<column name>_SEQ"</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem id="OracleDictionary.MaxEmbeddedBlobSize">
|
||||
|
@ -1713,7 +1713,7 @@ public class Author {
|
||||
|
||||
@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;
|
||||
|
||||
@ -1723,10 +1723,10 @@ public class Author {
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user