All pastes #229501 Raw Edit

Miscellany

public text v1 · immutable
#229501 ·published 2006-10-30 19:03 UTC
rendered paste body
  public int insert(String statementName, Object parameterObject) throws DaoException {
    Integer result;
    
    System.out.println("INSIDE THE INSERT NOW");
    try {
      result = (Integer) sqlMap.insert(statementName, parameterObject);
      log.info("inserted record");
    } catch (SQLException e) {
      throw new DaoException(e.fillInStackTrace());
    }
    System.out.println("RESULT: " + result);
    System.out.println("result value: " + result.intValue());
    return result.intValue();
  }