Made the code to fetch all the columns of a table into corresponding
java classes.