About embeddable

41-50 of 145Refresh
JPA Doc
6

javax.persistence.JoinColumn

, the foreign key column is in the table of the source entity or embeddable. If the join is for a unidirectional ... field of the referencing entity or embeddable class; "_"; the name of the referenced primary key ... , the name of the table of the source entity or embeddable. If the join is for a unidirectional
JPA Doc
6

javax.persistence.ManyToMany

within an embeddable class contained within an entity class to specify a relationship to a collection of entities. If the relationship is bidirectional and the entity containing the embeddable class ... annotation to specify the relationship field or property of the embeddable class. The dot
JPA Doc
6

javax.persistence.metamodel.Type.PersistenceType

BASIC Basic type Basic type Since: JPA 2.0 PersistenceType EMBEDDABLE Embeddable class Embeddable class
JPA Doc
6

javax.persistence.OrderBy

used. When specifying an ordering over an element collection of embeddable type, the dot notation ... .plusFour") public Set getResidences() {...}; ... } @Embeddable public ... state; @Embedded protected Zipcode zipcode; } @Embeddable public class Zipcode
JPA Doc
5

javax.persistence.criteria.From

, but may also be an embeddable belonging to an entity in the from clause. Serves as a factory for Joins of associations, embeddables, and collections belonging to the type, and for Paths of attributes
JPA Doc
5

javax.persistence.JoinTable

is used in mapping a relationship with an embeddable class on the owning side of the relationship, the containing entity rather than the embeddable class is considered the owner of the relationship
JPA Doc
5

javax.persistence.metamodel.Attribute.PersistentAttributeType

PersistentAttributeType EMBEDDED Embeddable class attribute Embeddable class attribute Since: JPA 2
JPA Doc
5

JoinColumn.name

of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign ... embeddable class; "_"; the name of the referenced primary key column. If there is no such referencing
Issue
3

Unexpected exception (Error 990) com.objectdb.o.InternalException

();                 // Persist an entity with an embeddable:         em.getTransaction().begin ... reference to the embeddable but free the entity:         MyEmbeddable embeddable = em.find(MyEntity.class, 1).embeddable;         System.gc();         // Update the embeddable
JPA Doc
3

Attribute.PersistentAttributeType.EMBEDDED

Enum Constant javax.persistence.metamodel.Attribute.PersistentAttributeType EMBEDDED Embeddable class attribute Since: JPA 2.0