When you get a query result back from JDBCTemplate.queryForList you get a List of HashMaps.
This is nifty if you want to retrieve the data for each record by fieldName but it loses the ordinal reference information that the original JDBC recordset object contained (since HashMaps are not guaranteed to return data in the order it was inserted).
I didn't see another "queryFor" that returns a Java object that preserves the ordinal position of the original columns? Something like queryForLinkedHashMap or (nodding tot he Jakarta folks) queryForOrderedHashMap? Is there another way?
Spring is built by smart folks, so suspect that it was a conscious decision to use an unordered map for storing resultset data (and losing ordinal information). Out curiousity, what was that rational?