Consider a class hierarchy with JOINED inheritance with an abstract class containing a field "type". The inherited subclass contains an embeddable. The embeddable also has a field named "type".
If you persist the concrete subclass with the embeddable then this field "type" is ignored like a transient field, i.e. it is stored and retrieved as NULL value no matter how it is initially filled.
This is a regression since 5.2.0. All versions before worked correctly.
If you rename one of the fields then it also works correctly again.
It seems that there is a naming conflict introduced with 5.2.0 over inheritance hierarchies.
Test case is attached.