private static void onViaEmbeddable ( EntityType entityType , Attribute column , EntityMetadata m , Object entity , EmbeddableType embeddable , JsonObject jsonObj ) { Field embeddedField = ( Field ) column . getJavaMember ( ) ; JsonElement embeddedDocumentObject = jsonObj . get ( ( ( AbstractAttribute ) column ) . getJPAColumnName ( ) ) ; if ( ! column . isCollection ( ) ) { PropertyAccessorHelper . set ( entity , embeddedField , getObjectFromJson ( embeddedDocumentObject . getAsJsonObject ( ) , ( ( AbstractAttribute ) column ) . getBindableJavaType ( ) , embeddable . getAttributes ( ) ) ) ; } }
On via embeddable .