Enumerating database column names and updating DAOs to use them