Hi Stéphane, 2013/8/9 Stéphane Cl <[email protected]>
> Hi Lukas, > I had a quick look but from what I understand, mapping a base entity > having for example 2 one-many relationships would still be a nightmare. > Using a join would get you tons of duplicates (basically a cartesian > product between both relations) and using subqueries is still going to have > you write in-memory PK-FK based joins. > Huh, I haven't given this proper thought. Yes, you're probably right. The show-case is probably good for linear "graphs" only, not for graphs with cartesian products in them. I guess that's where LLBLGen shines, as the proprietary query extensions holds all the relevant meta-data to know how to "untangle" the cartesian product between the >1 joined relationships. > However, I find modelmapper interesting for achieving for the exact > opposite : turning a graph into a DTO. > Great! Should you play around with it any further (in the context of databases / DTOs / etc), feel free to document your experience also here on this user group. Cheers Lukas -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
