blob: 5a84a9fb342b0052c0e86183f73f16410a2f15ea [file] [log] [blame]
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>10.&nbsp;Key Embedded Mapping</title><link rel="stylesheet" href="css/docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.72.0"><link rel="start" href="manual.html" title="Apache OpenJPA User's Guide"><link rel="up" href="ref_guide_mapping.html" title="Chapter&nbsp;7.&nbsp; Mapping"><link rel="prev" href="ref_guide_mapping_jpa_map_keyjoincols.html" title="9.&nbsp;Key Join Columns"><link rel="next" href="ref_guide_mapping_jpa_map_ex.html" title="11.&nbsp;Examples"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">10.&nbsp;Key Embedded Mapping</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref_guide_mapping_jpa_map_keyjoincols.html">Prev</a>&nbsp;</td><th width="60%" align="center">Chapter&nbsp;7.&nbsp;
Mapping
</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ref_guide_mapping_jpa_map_ex.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="ref_guide_mapping_jpa_map_embedkey"></a>10.&nbsp;Key Embedded Mapping</h2></div></div></div><a class="indexterm" name="d0e27444"></a><p>
The
<a xmlns:xlink="http://www.w3.org/1999/xlink" href="../javadoc/org/apache/openjpa/persistence/jdbc/KeyEmbeddedMapping.html" target="_top">
<code class="classname">org.apache.openjpa.persistence.jdbc.KeyEmbeddedMapping</code>
</a> annotation allows you to map your map field's embedded
key type to your container table. This annotation has exactly
the same properties as the
<code class="classname">EmbeddedMapping</code> annotation described
<a href="ref_guide_mapping_jpa.html#ref_guide_mapping_jpa_embed" title="7.5.&nbsp; Embedded Mapping">above</a>.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref_guide_mapping_jpa_map_keyjoincols.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="ref_guide_mapping.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ref_guide_mapping_jpa_map_ex.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">9.&nbsp;Key Join Columns&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="manual.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;11.&nbsp;Examples</td></tr></table></div></body></html>