org.apache.openjpa.persistence
Annotation Type PersistentCollection
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface PersistentCollection
Metadata annotation for a persistent collection field. This should be
used to annotate array field types as well as fields of type
Collection
.
- Since:
- 0.4.0
- Author:
- Abe White
mappedBy
public abstract java.lang.String mappedBy
- Default:
- ""
elementType
public abstract java.lang.Class elementType
- Default:
- void.class
elementCascade
public abstract javax.persistence.CascadeType[] elementCascade
- Default:
- {}
elementEmbedded
public abstract boolean elementEmbedded
- Default:
- false
fetch
public abstract javax.persistence.FetchType fetch
- Default:
- LAZY