Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: REQUIRED | OPTIONAL DETAIL: ELEMENT

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.

Since:
Java Persistence 2.0
See Also:
MapKeyJoinColumn

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.


Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: REQUIRED | OPTIONAL DETAIL: ELEMENT

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.

AltStyle によって変換されたページ (->オリジナル) /