com.caucho.config.j2ee
Annotation Type JpaPersistenceContext


@Qualifier
@Documented
@Target(value={TYPE,FIELD,METHOD,PARAMETER})
@Retention(value=RUNTIME)
public @interface JpaPersistenceContext

JpaPersistenceContext is a binding type for the JPA EntityManager, letting you select the context by its name and allowing the extended value to be selected.


Required Element Summary
 java.lang.String value
          The unitName of the JPA Persistence Context
 
Optional Element Summary
 boolean extended
          If true, return the extended persistence context, defaults to false.
 

Element Detail

value

public abstract java.lang.String value
The unitName of the JPA Persistence Context

extended

public abstract boolean extended
If true, return the extended persistence context, defaults to false.

Default:
false