OPENJPA-470: Use blockquote to highlight special classname syntax for SequenceGenerator attribute

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677161 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2008-07-16 05:31:20 +00:00
parent efdbbd7a92
commit fec65630fd
1 changed files with 16 additions and 7 deletions
openjpa-project/src/doc/manual

View File

@ -1645,17 +1645,26 @@ suitable for single-JVM environments.
</para>
</listitem>
</itemizedlist>
<para>
<para>
You can use JPA <literal>SequenceGenerator</literal>s to describe any built-in
<classname>Seq</classname>s or your own <classname>Seq</classname>
implementation. Set the <literal>sequenceName</literal> attribute to a plugin
string describing your choice. If specifying your own class name, you must
include parentheses at the end of the class name, even if you have no plugin
properties to configure.
(E.g., <literal>sequenceName="com.example.SeqImpl()"</literal>. See
<xref linkend="jpa_overview_mapping_sequence"/> in the JPA Overview for
string describing your choice.
</para>
<blockquote>
<para>
If specifying your own class name, you must include parentheses at the end of
the class name, even if you have no plugin properties to configure.
(E.g., <literal>sequenceName="com.example.SeqImpl()"</literal>.
</para>
</blockquote>
<para>
See <xref linkend="jpa_overview_mapping_sequence"/> in the JPA Overview for
details on defining <literal>SequenceGenerator</literal>s.
</para>
</para>
<para>
See <xref linkend="ref_guide_conf_plugins"/> for plugin string formatting.
</para>