{
// Iterate through Super columns
Map<String, ThriftRow> thriftRows = new HashMap<String, ThriftRow>();
MetamodelImpl metaModel = (MetamodelImpl) kunderaMetadata.getApplicationMetadata().getMetamodel(
m.getPersistenceUnit());
EntityType entityType = metaModel.entity(m.getEntityClazz());
Set<Attribute> attributes = entityType.getAttributes();
for (Attribute attribute : attributes)
{
String tableName = ((AbstractAttribute) attribute).getTableName() != null ? ((AbstractAttribute) attribute)
.getTableName() : m.getTableName();
ThriftRow tr = getThriftRow(id, tableName, thriftRows);
if (!attribute.getName().equals(m.getIdAttribute().getName()) && !attribute.isAssociation())
{
Field field = (Field) ((Attribute) attribute).getJavaMember();
byte[] name = ByteBufferUtil.bytes(((AbstractAttribute) attribute).getJPAColumnName()).array();
// if attribute is embeddable.
if (metaModel.isEmbeddable(attribute.isCollection() ? ((PluralAttribute) attribute)
.getBindableJavaType() : attribute.getJavaType()))
{
Map<String, Object> thriftSuperColumns = onEmbeddable(timestamp, tr, m, e, id, attribute);
if (thriftSuperColumns != null)
{