outputScale = null; drdaParamState_.clear(true);
this.drdaParamState_.drainStreamedParameter(); } catch (IOException ioe) { setStatus("IOException " + ioe.getMessage());
this.drdaParamState_.drainStreamedParameter(); } catch (IOException ioe) { setStatus("IOException " + ioe.getMessage());
this.drdaParamState_.drainStreamedParameter(); } catch (IOException ioe) { setStatus("IOException " + ioe.getMessage());
drdaParamState_.clear(false);
drdaParamState_.clear(false);
drdaParamState_.clear(false);
outputScale = null; drdaParamState_.clear(true);
outputScale = null; drdaParamState_.clear(true);
/** * Add a new batch of parameters for batch prepared statement execution. */ protected void addBatch() throws SQLException { // delay any addBatch exceptions till execute if (this.addBatchEx == null) { try { this.ps.addBatch(); } catch (RuntimeException ex) { this.addBatchEx = ex; } catch (SQLException sqle) { this.addBatchEx = sqle; } } try { this.drdaParamState_.drainStreamedParameter(); } catch (IOException ioe) { throw TransactionResourceImpl.wrapInSQLException(ioe); } }
/** * Add a new batch of parameters for batch prepared statement execution. */ protected void addBatch() throws SQLException { // delay any addBatch exceptions till execute if (this.addBatchEx == null) { try { this.ps.addBatch(); } catch (RuntimeException ex) { this.addBatchEx = ex; } catch (SQLException sqle) { this.addBatchEx = sqle; } } try { this.drdaParamState_.drainStreamedParameter(); } catch (IOException ioe) { throw TransactionResourceImpl.wrapInSQLException(ioe); } }
/** * <code>addDrdaParam</code> adds a new parameter with its * DRDA type and byte length. The arrays are automatically * grown if needed. * * @param t a <code>byte</code> value, the DRDA type of the * parameter being added * @param s an <code>int</code> value, the length in bytes of * the parameter being added */ protected void addDrdaParam(byte t, int s) { if (typeLstEnd_ >= typeLst_.length) { typeLst_ = (byte[])growArray(typeLst_); lenLst_ = (int[])growArray(lenLst_); } typeLst_[typeLstEnd_] = t; lenLst_[typeLstEnd_] = s; ++typeLstEnd_; }
/** * <code>addDrdaParam</code> adds a new parameter with its * DRDA type and byte length. The arrays are automatically * grown if needed. * * @param t a <code>byte</code> value, the DRDA type of the * parameter being added * @param s an <code>int</code> value, the length in bytes of * the parameter being added */ protected void addDrdaParam(byte t, int s) { if (typeLstEnd_ >= typeLst_.length) { typeLst_ = (byte[])growArray(typeLst_); lenLst_ = (int[])growArray(lenLst_); } typeLst_[typeLstEnd_] = t; lenLst_[typeLstEnd_] = s; ++typeLstEnd_; }
/** * Add a new batch of parameters for batch prepared statement execution. */ protected void addBatch() throws SQLException { // delay any addBatch exceptions till execute if (this.addBatchEx == null) { try { this.ps.addBatch(); } catch (RuntimeException ex) { this.addBatchEx = ex; } catch (SQLException sqle) { this.addBatchEx = sqle; } } try { this.drdaParamState_.drainStreamedParameter(); } catch (IOException ioe) { throw TransactionResourceImpl.wrapInSQLException(ioe); } }
/** * <code>addDrdaParam</code> adds a new parameter with its * DRDA type and byte length. The arrays are automatically * grown if needed. * * @param t a <code>byte</code> value, the DRDA type of the * parameter being added * @param s an <code>int</code> value, the length in bytes of * the parameter being added */ protected void addDrdaParam(byte t, int s) { if (typeLstEnd_ >= typeLst_.length) { typeLst_ = (byte[])growArray(typeLst_); lenLst_ = (int[])growArray(lenLst_); } typeLst_[typeLstEnd_] = t; lenLst_[typeLstEnd_] = s; ++typeLstEnd_; }
/** * <code>addExtPos</code> marks parameter i as external. The * array is grown as needed. * * @param p an <code>int</code> value, a parameter position * (zero-based) */ protected void addExtPos(int p) { if (extLstEnd_ >= extLst_.length) { extLst_ = (int[])growArray(extLst_); } extLst_[extLstEnd_] = p; ++extLstEnd_; }
/** * <code>addExtPos</code> marks parameter i as external. The * array is grown as needed. * * @param p an <code>int</code> value, a parameter position * (zero-based) */ protected void addExtPos(int p) { if (extLstEnd_ >= extLst_.length) { extLst_ = (int[])growArray(extLst_); } extLst_[extLstEnd_] = p; ++extLstEnd_; }
/** * <code>addExtPos</code> marks parameter i as external. The * array is grown as needed. * * @param p an <code>int</code> value, a parameter position * (zero-based) */ protected void addExtPos(int p) { if (extLstEnd_ >= extLst_.length) { extLst_ = (int[])growArray(extLst_); } extLst_[extLstEnd_] = p; ++extLstEnd_; }
/** Get the number of parameters, internal and external, that has * been added to this statement. * @return the number of parameters */ protected int getDrdaParamCount() { return drdaParamState_.getDrdaParamCount(); }
/** Get the parameter position of the i'th external parameter * @param i - zero-based index into list of external parameters * @return the parameter position of the i'th external parameter */ protected int getExtPosition(int i) { return drdaParamState_.getExtPos(i); }