The SqlMapClient API indicates:

public int insert(String statementName, Object parameterObject) throws SQLException. public int update(String statementName, Object parameterObject) throws SQLException public int delete(String statementName, Object parameterObject) throws SQLException

what does the return int repesent ?

the example shows

int rows = sqlMap.insert("insertProduct", product);

Does the return int represent the number of rows being inserted, updated or deleted ?

Is there anyway of returning the Object or the List of the rows being inserted, updated or deleted ?


Thanks,

John Chien
begin:vcard
fn:John Chien
n:Chien;John
email;internet:[EMAIL PROTECTED]
tel;work:919-715-2510
version:2.1
end:vcard

Reply via email to