super(command, connection, context, env);
}
@Override
public void execute() throws TranslatorException {
Call procedure = (Call)command;
columnDataTypes = procedure.getResultSetColumnTypes();
//translate command
TranslatedCommand translatedComm = translateCommand(procedure);
//create statement or CallableStatement and execute
String sql = translatedComm.getSql();
try{
//create parameter index map
CallableStatement cstmt = getCallableStatement(sql);
this.results = this.executionFactory.executeStoredProcedure(cstmt, translatedComm, procedure.getReturnType());
addStatementWarnings();
}catch(SQLException e){
throw new TranslatorException(e, JDBCPlugin.Util.getString("JDBCQueryExecution.Error_executing_query__1", sql)); //$NON-NLS-1$
}