Skip navigation links

Oracle® Fusion Middleware Java API Reference for EclipseLink
11g Release 1 (11.1.1)

E26376-01


javax.persistence
Annotation Type MapKeyJoinColumns


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface MapKeyJoinColumns

Supports composite map keys that reference entities.

The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name and the referencedColumnName elements must be specified in each of the grouped MapKeyJoinColumn annotations.

See Also:
MapKeyJoinColumn
Since:
Java Persistence 2.0

Required Element Summary
 MapKeyJoinColumn[] value
          (Required) The map key join columns that are used to map to the entity that is the map key.

 

Element Detail

value

public abstract MapKeyJoinColumn[] value
(Required) The map key join columns that are used to map to the entity that is the map key.

Skip navigation links

Oracle® Fusion Middleware Java API Reference for EclipseLink
11g Release 1 (11.1.1)

E26376-01


Copyright © 2007, Eclipse Foundation, Inc. and its licensors. All rights reserved.