[NUCCORE-1121] Remove use of mmd.getColumn and use getColumnMetaData
instead