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

## 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

Optional Element Summary
`CascadeType[]` | `cascade`
`boolean` | `embedded`
`FetchType` | `fetch`
`String` | `mappedBy`
`boolean` | `optional`

### 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:
    javax.persistence.FetchType.EAGER

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

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