NativeCriteria icon indicating copy to clipboard operation
NativeCriteria copied to clipboard

Support embedded objects on NativeBeanPropertyMapper

Open pnowy opened this issue 9 years ago • 0 comments

It would be good to add support on NativeBeanPropertyMapper for embedded objects.

Let's assume that we have the class ProductDTO with embedded class Category. Currently we could map only simple types. Bean property mapper could fill the categoryId on ProductDTO but doesn't create the category object and fill id inside Category.

This ticket has been created in order to add that kind of support.

We could use specific notation for this in out aliases, something like that:

c.id as category$id

in order to parser know that object should be created.

pnowy avatar Dec 31 '15 12:12 pnowy