I wrote a small anonymous function to be used with a map call. The function returns a vector containing a column name and column value from a SQL result set que
map
Your problem is that the simple syntax is trying to evaluate the vector as a function call.
You can insert an "identity" function to make it work, as this is just a simple function that will return the vector unchanged:
#(identity [(keyword %) (.getObject resultset %)])