mirror of https://github.com/apache/openjpa.git
OPENJPA-727 merge revision 696343 to trunk. Removing reference to missing image file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696347 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c86e1d910
commit
caf46298d6
|
@ -184,22 +184,10 @@ consider the class' primary table. Later, we will see how to map certain fields
|
||||||
to other tables.
|
to other tables.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The example below maps classes to tables according to the following diagram. The
|
The example below maps classes to tables to separate schemas. The
|
||||||
<literal>CONTRACT</literal>, <literal>SUB</literal>, and <literal>LINE_ITEM
|
<literal>CONTRACT</literal>, <literal>SUB</literal>, and <literal>LINE_ITEM
|
||||||
</literal> tables are in the <literal>CNTRCT</literal> schema; all other tables
|
</literal> tables are in the <literal>CNTRCT</literal> schema; all other tables
|
||||||
are in the default schema.
|
are in the default schema.
|
||||||
</para>
|
|
||||||
<mediaobject>
|
|
||||||
<imageobject>
|
|
||||||
<!-- PNG image data, 513 x 410 (see README) -->
|
|
||||||
<imagedata fileref="img/mapping-tables.png" width="341px"/>
|
|
||||||
|
|
||||||
</imageobject>
|
|
||||||
</mediaobject>
|
|
||||||
<para>
|
|
||||||
Note that the diagram does not include our model's <classname>Document
|
|
||||||
</classname> and <classname>Address</classname> classes. Mapped superclasses and
|
|
||||||
embeddable classes are never mapped to tables.
|
|
||||||
</para>
|
</para>
|
||||||
<example id="jpa_overview_mapping_classex">
|
<example id="jpa_overview_mapping_classex">
|
||||||
<title>
|
<title>
|
||||||
|
|
Loading…
Reference in New Issue