Annotation Type PersistenceContexts


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface PersistenceContexts
    Declares one or more PersistenceContext annotations. It is used to express a dependency on container-managed entity manager persistence contexts.
    See Also:
    PersistenceContext
    Since:
    1.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      PersistenceContext[] value
      (Required) One or more PersistenceContext annotations.
    • Element Detail

      • value

        PersistenceContext[] value
        (Required) One or more PersistenceContext annotations.