private static void populateEmbeddedIdFields ( Set < Attribute > embeddedAttributes , MetamodelImpl metaModel , Set < String > embeddedIdFields ) { for ( Attribute attribute : embeddedAttributes ) { if ( ! ReflectUtils . isTransientOrStatic ( ( Field ) attribute . getJavaMember ( ) ) ) { if ( metaModel . isEmbeddable ( attribute . getJavaType ( ) ) ) { EmbeddableType embeddable = metaModel . embeddable ( attribute . getJavaType ( ) ) ; populateEmbeddedIdFieldsUtil ( embeddable . getAttributes ( ) , metaModel , embeddedIdFields ) ; } } } }
recursively populate all the fields present in partition key