org.apache.openjpa.persistence
Annotation Type Persistent
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Persistent
Metadata annotation for a persistent field.
- Since:
 
  - 0.4.0
 
- Author:
 
  - Abe White
 
 
mappedBy
public abstract String mappedBy
 
- Default:
 - ""
 
cascade
public abstract CascadeType[] cascade
 
- Default:
 - {}
 
optional
public abstract boolean optional
 
- Default:
 - true
 
embedded
public abstract boolean embedded
 
- Default:
 - false
 
fetch
public abstract FetchType fetch
 
- Default:
 - EAGER
 
Copyright © 2006 Apache Software Foundation. All Rights Reserved.