Re:How Hibernate Almost Ruined My Career
by mb_72 on Friday February 17, 2017 @12:23AM
(#13666149)
> ORMs make porting queries to another project that needs to use the same database difficult.
Wouldn't you have written a shared library through which both projects access the same database?
I know SQL pretty well (20+ years experience), but still use ORMs with nary a reason to hand-code any SQL any more. As a small-business-focused consultant using Microsoft technologies I do realise this puts me in a different bracket than others using larger-scale datasets and so forth, however for me using an ORM makes my life easier, makes me more productive, and with a little attention to detail doesn't result in performance issues for clients.
Wouldn't you have written a shared library through which both projects access the same database?
I know SQL pretty well (20+ years experience), but still use ORMs with nary a reason to hand-code any SQL any more. As a small-business-focused consultant using Microsoft technologies I do realise this puts me in a different bracket than others using larger-scale datasets and so forth, however for me using an ORM makes my life easier, makes me more productive, and with a little attention to detail doesn't result in performance issues for clients.