javax.persistence

## Annotation Type PersistenceUnit

-     @Target(value={TYPE,METHOD,FIELD})
      @Retention(value=RUNTIME)
      public @interface PersistenceUnit

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `java.lang.String` | `name`
    `java.lang.String` | `unitName`

- - ### Element Detail

    - #### name

          public abstract java.lang.String name

      Default:
        ""

    - #### unitName

          public abstract java.lang.String unitName

      Default:
        ""

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.