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 where group_id in (1)
And it ran perfect.
After that, I try this :
select * from employee where group_id in (1,2,3,4,..., 124)
And it's stuck (It stopped, no error, no exception, even if I debug, it just stopped at queryForList and cannot move down to the code below). However, as I added in to queryForList a RowMapper<Employee>, everything ran smoothly.
So I have a question, what's wrong with mapping data retrieved manually without RowMapper ?