Annotation Interface PersistenceUnit


@Repeatable(PersistenceUnits.class) @Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface PersistenceUnit
Expresses a dependency on an EntityManagerFactory and its associated persistence unit.
Since:
1.0