Description
Attribute.getPersistentAttributeType() should return PersistentAttributeType.EMBEDDED for @Embedded types.
It returns PersistentAttributeType.ONE_TO_ONE now.
I guess this also has effects on Attribute.isAssociation() which returns true for @Embedded types.