Пример #1
0
  public Integer update(DbInputStatement statement, Integer idx) throws Exception {

    int index = idx.intValue();
    statement.setDateTime(index++, new Date());
    statement.setLongInteger(index++, getPerms());

    return new Integer(index);
  }
Пример #2
0
  public void setStatementValues(DbInputStatement stmt) throws Exception {

    int i = 1;

    stmt.setLongInteger(i++, m_archId);
    stmt.setLongInteger(i++, m_detType);
    stmt.setLongText(i++, m_detVal);
  }
Пример #3
0
  public void setStatementValues(DbInputStatement stmt) throws Exception {

    int i = 1;

    stmt.setLongInteger(i++, m_id);
    stmt.setLongText(i++, m_data);
    stmt.setLongInteger(i++, m_crtUsrId);
    stmt.setDateTime(i++, m_crtTs);
    stmt.setLongInteger(i++, m_updUsrId);
    stmt.setDateTime(i++, m_updTs);
  }