8.12.64 Correspondence between the annotations and O/R mapping
The following table describes the correspondence between the annotations and O/R mapping files:
Annotation |
O/R mapping elements |
---|---|
<association-override> |
|
-- |
|
<element-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> |
- Legend:
-
--: Not applicable.
- #
-
Not an annotation for O/R mapping.