|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface AnyDefine a ToOne association pointing to several entity types. Matching the according entity type is doe through a metadata discriminator column This kind of mapping should be only marginal.
| Required Element Summary | |
|---|---|
javax.persistence.Column |
metaColumn
Metadata discriminator column description, This column will hold the meta value corresponding to the targeted entity. |
| Optional Element Summary | |
|---|---|
javax.persistence.FetchType |
fetch
Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. |
String |
metaDef
Metadata definition used. |
boolean |
optional
Whether the association is optional. |
| Element Detail |
|---|
public abstract javax.persistence.Column metaColumn
public abstract String metaDef
public abstract javax.persistence.FetchType fetch
public abstract boolean optional
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||