Package org.apache.openjpa.persistence
Annotation Type ManagedInterface
-
@Target(TYPE) @Retention(RUNTIME) public @interface ManagedInterface
The annotated interface should be treated as a managed interface by OpenJPA. New instances of this type can be created by invokingOpenJPAEntityManager.createInstance(Class)
. Interfaces with this annotation should also be annotated with one of the JPA entity annotations (@Entity
,@MappedSuperclass
, or@Embeddable
).- Since:
- 1.1.0