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

Optional Element Summary
 CascadeType[] elementCascade
           
 boolean elementEmbedded
           
 Class elementType
           
 FetchType fetch
           
 String mappedBy
           
 

mappedBy

public abstract String mappedBy
Default:
""

elementType

public abstract Class elementType
Default:
void.class

elementCascade

public abstract CascadeType[] elementCascade
Default:
{}

elementEmbedded

public abstract boolean elementEmbedded
Default:
false

fetch

public abstract FetchType fetch
Default:
LAZY


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Apache OpenJPA 1.1.0 API Reference
12c Release 1 (12.1.1)
Part Number E24398_01