Ce contenu n'est pas disponible dans la langue sélectionnée.
Appendix A. Executing Commands
A.1. Execution Modes Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
The JBoss Data Virtualization query engine uses the
ExecutionFactory class to obtain the Execution interface for the command it is executing. The query is sent to the translator as a set of objects. Refer to Section B.1, “Language” for more information.
Translators are allowed to support any subset of the available execution modes.
| Execution Interface | Command interface(s) | Description |
|---|---|---|
ResultSetExecution | QueryExpression | A query corresponding to a SQL SELECT or set query statement. |
UpdateExecution | Insert, Update, Delete, BatchedUpdates | An insert, update, or delete, corresponding to a SQL INSERT, UPDATE, or DELETE command |
ProcedureExecution | Call | A procedure execution that may return a result set and/or output values. |
All of the execution interfaces extend the base
Execution interface that defines how executions are canceled and closed. ProcedureExecution also extends ResultSetExecution, since procedures may also return resultsets.