javax.persistence
Annotation Type PersistenceUnit


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

The @PersistenceUnit annotation.


Optional Element Summary
 java.lang.String name
           
 java.lang.String unitName
           
 

name

public abstract java.lang.String name
Default:
""

unitName

public abstract java.lang.String unitName
Default:
""