Home » Search

About composite

21-30 of 67Refresh
JPA Doc
5

javax.persistence.EmbeddedId

javax.persistence Annotation EmbeddedId Target: Fields (including property get methods) Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class. The embeddable class must be annotated as Embeddable
JPA Doc
5

javax.persistence.IdClass

javax.persistence Annotation IdClass Target: Classes Specifies a composite primary key class that is mapped to multiple fields or properties of the entity. The names of the fields or properties in the primary key class and the primary key fields or properties of the entity must correspond
JPA Doc
5

javax.persistence.JoinColumns

javax.persistence Annotation JoinColumns Target: Fields (including property get methods) Defines mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same relationship. When the JoinColumns annotation is used, both the name and the referencedColumnName elements
JPA Doc
5

javax.persistence.MapKey

of the associated entity is used as the map key. If the primary key is a composite primary key
JPA Doc
5

javax.persistence.MapKeyJoinColumns

javax.persistence Annotation MapKeyJoinColumns Target: Fields (including property get methods) Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name
JPA Doc
5

javax.persistence.PrimaryKeyJoinColumns

javax.persistence Annotation PrimaryKeyJoinColumns Target: Classes and fields (including property get methods) Groups PrimaryKeyJoinColumn annotations. It is used to map composite foreign keys. Example: ValuedCustomer subclass @Entity @Table(name="VCUST") @DiscriminatorValue("VCUST
JPA Doc
5

MapKey.name

is a composite primary key and is mapped as IdClass, an instance of the primary key class is used as the key. Default value: "" Since: JPA 1.0
JPA Doc
5

MapsId.value

Annotation Element javax.persistence.MapsId String value (Optional) The name of the attribute within the composite key to which the relationship attribute corresponds. If not supplied, the relationship maps the entity’s primary key. Default value: "" Since: JPA 2.0
Forum
3

Queries are slow on a large database

. For diagnosis please try the same query without the ORDER BY clause. A composite index in ... will try composite index later. However there is one thing I haven't managed to figure ... the same directory as the database file is not sufficient. In addition, consider using composite
Forum
3

possible index required for improving query performance

that a composite index can be used as a single index of the first element (with a small penalty compared ... a composite index makes a difference. Hi, I've been actually dealing with this, so it would be best ... objectdb select which index to use when there are multiple indexes? In this scenario we have a composite