![]() is used to specify that a given entity attribute represents an embeddable type. See the Embeddables section for more info. Like basic types, embeddable types do not have any identity, being managed by their owning entity. See the Collections section for more info. is used to specify a collection of basic or embeddable types. See the Discriminator section for more info. is used to specify what value of the discriminator column is used for mapping the currently annotated entity. is used to specify the discriminator column name and the discriminator type for the SINGLE_TABLE and JOINED Inheritance strategies. is used to group multiple the AttributeConverter section for more info. See the AttributeConverter section for more info. is used to specify that the current annotate AttributeConverter implementation can be used as a JPA basic attribute converter. is used to specify the AttributeConverter implementation used to convert the currently annotated basic attribute. See the Multiple scalar values NamedNativeQuery with ConstructorResult section for more info. is used in conjunction with the to map columns of a given SELECT query to a certain object constructor. See the Entity associations with the named native queries section for more info. is used in conjunction with the to map a SQL column for a given SELECT query. See the annotation section for more info. is used to specify the mapping between a basic entity attribute and the database table column. See the Collections of embeddable types section for more info. is used to specify the database table that stores the values of a basic or an embeddable type collection. is used to specify whether an entity should be stored in the second-level cache. See the Basic types chapter for more info. used to group several is used to map a basic attribute type to a database column. See the Overriding Embeddable types section for more info. used to group several is used to override an attribute mapping inherited from a mapped superclass or an embeddable. inherited from a mapped superclass or an embeddable. is used to override an association mapping (e.g. See the Access type section for more info. is used to specify the access type of the associated entity class, mapped superclass, or the embeddable class and entity attribute. describe each annotation with links to their Java doc and their official documentation sections. Java Persistence API Tutorial JPA Annotationsġ. This article provides you with 89 JPA mapping annotations for quick reference and/or summary.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |