larry
public text v1 · immutable 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();
}