Search:

Type: Posts; User: quanganhct

Search: Search took 0.17 seconds.

  1. Replies
    3
    Views
    2,469

    Re: Cannot run query without RowMapper

    I do this :


    String query = select * from employee where group_id in (1,2,3,4,..., 124);
    List<Map<String, Object>> rows = getJdbcTemplate().queryForList(query);

    for (Map<String, Object> row :...
  2. Replies
    3
    Views
    2,469

    Cannot run query without RowMapper

    Hi,
    I ran to this problem while trying to use JDBCtemplate queryForList(String query) method. This should return List<Map<String, Obkect>>.
    At first my query is simple :
    select * from employee...
Results 1 to 2 of 2