4 ms·
> The generation tool should know all the ORMs or whatever used by the clients and modify their models. Saying that this is not mainstream is an understatement.
by mmt 8y ago
> The generation tool should know all the ORMs or whatever used by the clients and modify their models. Saying that this is not mainstream is an understatement.
I'm not sure that there would ever need to be any code-generation tool that knows more than one ORM and is, presumably, bundled with that ORM.
Now, if you're saying that they don't actually exist, currently, for anything other than jOOQ (which is being promoted in the article), I don't doubt that.
However, given something like ActiveRecord's schema discovery functionality, maybe that's good enough when combined with slightly more manual intervention. Other ORMs may be better or worse, of course.