public class TaskEngineProc extends AbstractTaskEngineSQL<KCallableStatement>
SQL_RESOURCE_ID, SQL_ROWCOUNT| Constructor and Description |
|---|
TaskEngineProc(ScriptManager scriptManager)
Constructeur.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSqlQuery(String sql)
Vérification de la syntaxe sql.
|
protected KCallableStatement |
createStatement(String procName,
KConnection connection)
Crée le Statement pour le select ou bloc sql.
|
protected int |
doExecute(KConnection connection,
KCallableStatement statement)
Exécution de la requête.
|
execute, getConnectionProvider, getDataBaseManager, getKTransactionResourceId, getParams, getSqlQuery, preProcessQuery, setOutParameter, setParameter, setParametersgetTaskDefinition, getValue, process, setValue@Inject public TaskEngineProc(ScriptManager scriptManager)
scriptManager - Manager de traitment de scriptsprotected final void checkSqlQuery(String sql)
checkSqlQuery in class AbstractTaskEngineSQL<KCallableStatement>sql - Syntaxe sql de la requêteprotected int doExecute(KConnection connection, KCallableStatement statement) throws SQLException
doExecute in class AbstractTaskEngineSQL<KCallableStatement>connection - Connexion BDDstatement - RequêteSQLException - Erreur sqlprotected final KCallableStatement createStatement(String procName, KConnection connection)
createStatement in class AbstractTaskEngineSQL<KCallableStatement>procName - Requête SQLconnection - Connexion vers la base de donnéesCopyright © 2014. All Rights Reserved.