code: private void populateId(EntityMetadata entityMetadata, Table schemaTable, Object entity, Row row)
      {
          FieldDef fieldMetadata;
          FieldValue value;
          String idColumnName = ((AbstractAttribute) entityMetadata.getIdAttribute()).getJPAColumnName();
  
          fieldMetadata = schemaTable.getField(idColumnName);
  
          value = row.get(idColumnName);
  
          NoSqlDBUtils.get(fieldMetadata, value, entity, (Field) entityMetadata.getIdAttribute().getJavaMember());
      }
docs: Populate id.
  
  @param entityMetadata
  the entity metadata
  @param schemaTable
  the schema table
  @param entity
  the entity
  @param row
  the row