I am using JdbcTemplate to retrieve a Bean from the db. Here is my method:
JdbcTemplate
public List getTrackerData() { return List
Should try using Rowmapper like use it as when you query API.
Hope that solves your problem.