|
When redefining the name of an @Embeddable field, it's name is not prefixed with the name of the embedding field any more.
E.g. in EmbeddableMappingTest the field "zipCode" of the embeddable Address gets a specific column name. This results in that field being pulled to the top level in the persisted mapping:
{
'homeAddress' : {
'country' : 'France',
...
},
'postal_code' : '75007',
...
"}"
Whereas I think it still should be located under the "homeAddress" node:
{
'homeAddress' : {
'country' : 'France',
'postal_code' : '75007',
...
},
...
}
|