Used classMetaData to generate the table name.