SqlMapClient类提供了执行所有mapped statement的API方法:
public int insert(String statementName,Object parameterObject)throws SQLException
public int update(String statementName,Object parameterObject)throws SQLException
public int dalete(String statementName,Object parameterObject)throws SQLException
public Object queryForObject(String statementName,Object parameterObject)throws SQLException
public Object queryForObject(String statementName,Object parameterObject,Object resultObject)throws SQLException
public List queryForList(String statementName,Object parameterObject)throws SQLException
public List queryForList(String statementName,Object parameterObject,int skipResult,int maxResult)throws SQLException
public List queryForList(String statementName,Object parameterObject,RowHandler rowHandler)throws SQLException
public PaginatedList queryForPaginatedList(String statementName,Object parameterObject,int pageSize)throws SQLException
public Map queryForMap(String statementName,Object parameterObject,String keyProperty)throws SQLException
public Map queryForMap(String statementName,Object parameterObject,String keyProperty,String valueProperty)throws SQLException