Alternate suggestion: pull this query code out into a separate method that accepts a String ... argument for columns.  I think your way would work, but this is the table we're querying from so it can be treated a bit differently.