About embeddable

51-60 of 144Refresh
JPA Doc
3

ElementCollection.targetClass

Annotation Element javax.persistence.ElementCollection Class targetClass (Optional) The basic or embeddable class that is the element type of the collection. This element is optional only if the collection field or property is defined using Java generics, and must be specified
JPA Doc
3

javax.persistence.Access

javax.persistence Annotation Access Target: Classes and fields (including property get methods) Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0 AccessType value (Required
JPA Doc
3

javax.persistence.AccessType

, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0
JPA Doc
3

javax.persistence.criteria.Join

javax.persistence.criteria Interface Join Superinterfaces: Expression, FetchParent, From, Path, Selection, TupleElement Subinterfaces: CollectionJoin, ListJoin, MapJoin, PluralJoin, SetJoin A join to an entity, embeddable, or basic type. Since: JPA 2.0 Learn how to use
JPA Doc
3

javax.persistence.MapKeyClass

javax.persistence Annotation MapKeyClass Target: Fields (including property get methods) Specifies the type of the map key for associations of type java.util.Map. The map key can be a basic type, an embeddable class, or an entity. If the map is specified using Java generics, the MapKeyClass
JPA Doc
3

javax.persistence.MapKeyJoinColumn

or field of the referencing entity or embeddable class; "_"; "KEY". Default value: "" Since: JPA 2.0
JPA Doc
3

javax.persistence.MapsId

; ... } // dependent entity uses EmbeddedId for composite key @Embeddable
JPA Doc
3

javax.persistence.metamodel.EmbeddableType

javax.persistence.metamodel Interface EmbeddableType Superinterfaces: ManagedType, Type Instances of the type EmbeddableType represent embeddable types. Since: JPA 2.0 Attribute getAttribute(String name) Return the attribute of the managed type that corresponds to the specified name
JPA Doc
3

javax.persistence.metamodel.ManagedType

javax.persistence.metamodel Interface ManagedType Superinterfaces: Type Subinterfaces: EmbeddableType, EntityType, IdentifiableType, MappedSuperclassType Instances of the type ManagedType represent entity, mapped superclass, and embeddable types. Since: JPA 2.0 Attribute getAttribute
JPA Doc
3

javax.persistence.OneToMany

of the relationship. The OneToMany annotation may be used within an embeddable class contained within an entity