public class JPQLUpdateExecution extends JPQLBaseExecution implements UpdateExecution
enityManager, executionContext, metadata| Constructor and Description |
|---|
JPQLUpdateExecution(Command command,
ExecutionContext executionContext,
RuntimeMetadata metadata,
javax.persistence.EntityManager em) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
void |
execute() |
int[] |
getUpdateCounts() |
public JPQLUpdateExecution(Command command, ExecutionContext executionContext, RuntimeMetadata metadata, javax.persistence.EntityManager em)
public void execute()
throws TranslatorException
execute in interface ExecutionTranslatorExceptionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
getUpdateCounts in interface UpdateExecutionDataNotAvailableExceptionTranslatorExceptionpublic void cancel()
throws TranslatorException
cancel in interface ExecutionTranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.