About mapping

131-140 of 200Refresh
JPA Doc
5

javax.persistence.criteria.Path

of the given name does not otherwise exist Since: JPA 2.0 Expression get( MapAttribute map) Create a path corresponding to the referenced map-valued attribute. Create a path corresponding to the referenced map-valued attribute. Parameters: map - map-valued attribute Returns: expression
JPA Doc
5

javax.persistence.OneToMany

that is the owner of the relationship. When the collection is a java.util.Map, the cascade element and the orphanRemoval element apply to the map value. Example 1: One-to-Many association using generics ... using a foreign key mapping // In Customer class: @OneToMany(orphanRemoval=true
JDO Doc
4

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

 candidateCollectionExpression,   Map parameters ) Add a subquery to this query. The Map version of the method treats the key of each map entry as the name of the parameter in the subquery, with or ... expression is the empty String for either the parameter or the value of the String[], or for any map key
JPA Doc
4

AssociationOverride.joinColumns

) being mapped to the persistent attribute(s). The joinColumns elements must be specified if a foreign key mapping is used in the overriding of the mapping of the relationship. The joinColumns element must not be specified if a join table is used in the overriding of the mapping of the relationship. Default value: {} Since: JPA 1.0
JDO Doc
4

javax.jdo.annotations.Key

for the key of a map relation. Corresponds to the xml element "key". Since: JDO 2.1 String column Name ... : "" Since: JDO 2.1 Embedded[] embeddedMapping The embedded mapping for the key. The embedded mapping for the key. Returns: the embedded mapping for the key Default value: {} Since: JDO 2.1 Extension[] extensions
JDO Doc
4

javax.jdo.annotations.Value

for the value of a map relation. Corresponds to the xml element "value". Since: JDO 2.1 String column ... : whether this value is embedded Default value: "" Since: JDO 2.1 Embedded[] embeddedMapping The embedded mapping for the value. The embedded mapping for the value. Returns: the embedded mapping for the value Default
JPA Doc
4

javax.persistence.criteria.Subquery

) Create a subquery map join object correlated to a map join object of the enclosing query. Create a subquery map join object correlated to a map join object of the enclosing query. Parameters
JPA Doc
4

javax.persistence.EntityResult

javax.persistence Annotation EntityResult Target: Used to map the SELECT clause of a SQL query ... that are mapped to the entity object. This should include foreign key columns to related entities ... of the result. The class of the result. Since: JPA 1.0 FieldResult[] fields Maps the columns specified in
JPA Doc
4

javax.persistence.JoinTable

the mapping of associations. It is specified on the owning side of an association. A join table is typically used in the mapping of many-to-many and unidirectional one-to-many associations. It may also be used to map bidirectional many-to-one/one-to-many associations, unidirectional many
JPA Doc
4

AssociationOverride.joinTable

that maps the relationship. The joinTable element must be specified if a join table is used in the overriding of the mapping of the relationship. The joinTable element must not be specified if a foreign key mapping is used in the overriding of the relationship. Default value: @javax.persistence.JoinTable Since: JPA 2.0