PersistenceUnit (Apache Tomcat 7.0.108 API Documentation)

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
    --- | ---
    `String` | `name`
    `String` | `unitName`

- - ### Element Detail

    - #### name

          public abstract String name

      Default:
        ""

    - #### unitName

          public abstract String unitName

      Default:
        ""

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