@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface PersistenceContext
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name |
PersistenceProperty[] |
properties |
PersistenceContextType |
type |
java.lang.String |
unitName |
public abstract PersistenceContextType type
public abstract PersistenceProperty[] properties