Looking over the DBUtils API docs, I cannot see if it's possible to query for a List<String>
in the same way that I could query a List<MyBean>
using BeanListHandler.
I could either do it be creating a Bean that wraps the String and use BeanListHandler or possibly return a List<Object[]>
and fish out my Strings that way.
But is there a more direct way where DBUtils can pass back a List<String>
for a query that produces a bunch of String values from a varchar table column?