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); }
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); }