Re: Dynamic mapping

2017-01-20 Thread Hugi Thordarson
Thanks! Now I have something fun to work on during the weekend :) - hugi > On 20. jan. 2017, at 14:26, Andrus Adamchik wrote: > > Here it is: > > https://gist.github.com/andrus/29616d6f20fc5094a4eb77114d751db0 > > Hides lots of verbosity in Cayenne mapping API. We may port it to Cayenne in

Re: Dynamic mapping

2017-01-20 Thread Andrus Adamchik
Here it is: https://gist.github.com/andrus/29616d6f20fc5094a4eb77114d751db0 Hides lots of verbosity in Cayenne mapping API. We may port it to Cayenne in the future releases if we are to pursue the topic of dynamic mapping. Andrus > On Jan 20, 2017, at 8:24 AM, Hugi Thordarson wrote: > > As s

Re: Dynamic mapping

2017-01-20 Thread Hugi Thordarson
As someone who uses multiple Cayenne projects in separate jars a lot (I have a project for db documentation, another one for user management, another one for generic object tagging etc. etc.) this is quite awesome and I have oodles of use cases. Can you share the code for the Relationships utili

Re: Dynamic mapping

2017-01-19 Thread Eric Schneider
I'm glad somebody finally noticed it. :-) > On Jan 19, 2017, at 8:29 PM, Andrus Adamchik wrote: > > TL;DR: Map relationships dynamically in a running app if you need to connect > multiple reusable ORM modules. > > A longer version: > > I'd often mention at various presentations that Cayenne