public class JPQLDirectQueryExecution extends JPQLBaseExecution implements ProcedureExecution
enityManager, executionContext, metadata| Constructor and Description |
|---|
JPQLDirectQueryExecution(List<Argument> arguments,
Command command,
ExecutionContext executionContext,
RuntimeMetadata metadata,
javax.persistence.EntityManager em,
String query,
boolean returnsArray) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
void |
execute() |
List<?> |
getOutputParameterValues() |
List<?> |
next() |
public JPQLDirectQueryExecution(List<Argument> arguments, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager em, String query, boolean returnsArray)
public void execute()
throws TranslatorException
execute in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
next in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic void cancel()
throws TranslatorException
cancel in interface ExecutionTranslatorExceptionpublic List<?> getOutputParameterValues() throws TranslatorException
getOutputParameterValues in interface ProcedureExecutionTranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.