uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.7.64 Correspondence between the annotations and O/R mapping

The following table describes the correspondence between the annotations and O/R mapping files:

Table 2-30 Correspondence between the annotations and O/R mapping files

Annotation O/R mapping elements
@AssociationOverride <association-override>
@AssociationOverrides --
@ElementOverride <element-override>
@ElementOverrides --
@Basic <basic>
@Column <column>
@ColumnResult <column-result>
@DiscriminatorColumn <discriminator-column>
@DiscriminatorValue <discriminator-value>
@Embeddable <embeddable>
@Embedded <embedded>
@EmbeddedId <embedded-id>
@Entity <entity>
@EntityListeners <entity-listeners>
@EntityResult <entity-result>
@Enumerated <enumerated>
@ExcludeDefaultListeners <exclude-default-listeners>
@ExcludeSuperclassListeners <exclude-superclass-listeners>
@FieldResult <field-result>
@GeneratedValue <generated-value>
@Id <id>
@IdClass <id-class>
@Inheritance <inheritance>
@JoinColumn <join-column>
@JoinColumns --
@JoinTable <join-table>
@Lob <lob>
@ManyToMany <many-to-many>
@ManyToOne <many-to-one>
@MapKey <map-key>
@MappedSuperclass <mapped-superclass>
@NamedNativeQueries --
@NamedNativeQuery <named-native-query>
@NamedQueries --
@NamedQuery <named-query>
@OneToMany <one-to-many>
@OneToOne <one-to-one>
@OrderBy <order-by>
@PersistenceContext --#
@PersistenceContexts --#
@PersistenceProperty --#
@PostLoad <post-load>
@PostPersist <post-persist>
@PostRemove <post-remove>
@PostUpdate <post-update>
@PrePersist <pre-persist>
@PreRemove <pre-remove>
@PreUpdate <pre-update>
@PrimaryKeyJoinColumn <primary-key-join-column>
@PrimaryKeyJoinColumns --
@QueryHint <hint>
@SecondaryTable <secondary-table>
@SecondaryTables --
@SequenceGenerator <sequence-generator>
@SqlResultSetMapping <sql-result-set-mapping>
@SqlResultSetMappings --
@Table <table>
@TableGenerator <table-generator>
@Temporal <temporal>
@Transient <transient>
@UniqueConstraint <unique-constraint>
@Version <version>

Legend:
--: Not applicable.

#
Not an annotation for O/R mapping.