code: private void processEmbeddableAttribute(Object entity, MetamodelImpl metamodel, Row row, Table schemaTable,
              EntityMetadata metadata, Attribute attribute)
      {
          // process on embeddables.
          EmbeddableType embeddable = metamodel.embeddable(((AbstractAttribute) attribute).getBindableJavaType());
          Set<Attribute> embeddedAttributes = embeddable.getAttributes();
          Object embeddedObject = PropertyAccessorHelper.getObject(entity, (Field) attribute.getJavaMember());
  
          for (Attribute embeddedAttrib : embeddedAttributes)
          {
              setField(row, schemaTable, embeddedObject, embeddedAttrib);
          }
      }
docs: Process embeddable attribute.
  
  @param entity
  the entity
  @param metamodel
  the metamodel
  @param row
  the row
  @param schemaTable
  the schema table
  @param metadata
  the metadata
  @param attribute
  the attribute