8.22.59 アノテーションとO/Rマッピングとの対応
アノテーションとO/Rマッピングファイルとの対応を次の表に示します。
アノテーション |
O/Rマッピングの要素 |
---|---|
<association-override> |
|
− |
|
<attribute-override> |
|
− |
|
<basic> |
|
<column> |
|
<column-result> |
|
<discriminator-column> |
|
<discriminator-value> |
|
<embeddable> |
|
<embedded> |
|
<embedded-id> |
|
<entity> |
|
<entity-listeners> |
|
<entity-result> |
|
<enumerated> |
|
<exclude-default-listeners> |
|
<exclude-superclass-listeners> |
|
<field-result> |
|
<generated-value> |
|
<id> |
|
<id-class> |
|
<inheritance> |
|
<join-column> |
|
− |
|
<join-table> |
|
<lob> |
|
<many-to-many> |
|
<many-to-one> |
|
<map-key> |
|
<mapped-superclass> |
|
− |
|
<named-native-query> |
|
− |
|
<named-query> |
|
<one-to-many> |
|
<one-to-one> |
|
<order-by> |
|
<post-load> |
|
<post-persist> |
|
<post-remove> |
|
<post-update> |
|
<pre-persist> |
|
<pre-remove> |
|
<pre-update> |
|
<primary-key-join-column> |
|
− |
|
<hint> |
|
<secondary-table> |
|
− |
|
<sequence-generator> |
|
<sql-result-set-mapping> |
|
− |
|
<table> |
|
<table-generator> |
|
<temporal> |
|
<transient> |
|
@UniqueConstraint |
<unique-constraint> |
<version> |