FWIW, I updated the code to be better at compound keys (I think) and produce slightly better output:
https://gist.github.com/mrg/4dce22b67175c27f4047#file-cayenneutils-java-L188 Let me know if there are any issues! Thanks, mrg On Thu, Mar 17, 2016 at 12:03 PM, Michael Gentry <blackn...@gmail.com> wrote: > BTW, the code I posted only does database runtime relationships, not Java > object relationships, plus it handles compound keys poorly, so there is > room for improvement! :-) > > Thanks, > > mrg > >