private static class SharedEntityManagerCreator.DeferredQueryInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Includes deferred output parameter access for JPA 2.1 StoredProcedureQuery, retrieving the corresponding values for all registered parameters on query termination and returning the locally cached values for subsequent access.
Modifier and Type | Field and Description |
---|---|
private EntityManager |
entityManager |
private java.util.Map<java.lang.Object,java.lang.Object> |
outputParameters |
private Query |
target |
Constructor and Description |
---|
DeferredQueryInvocationHandler(Query target,
EntityManager entityManager) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
private final Query target
@Nullable private EntityManager entityManager
@Nullable private java.util.Map<java.lang.Object,java.lang.Object> outputParameters