Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've always thought the "being SQL database agnostic" theory of ORMs was more about a development team being able to choose from some common choices than about apps being portable in practice.


Yeah, I’ve never seen any complex applications, using ORM’s, that were easy to port to another database. Hell, one company I was at switched from MySQL to MariaDB and even that took some work despite that they should be almost the dame thing. If you switch to a more substantially different database, eg, from MySQL to Postgres, then its even harder. I’m also a believer in using a databases features when it makes sense and not limiting myself to the standardised subset of SQL just in case I might want to change databases later.


Right. That. An ORM for (only) PostgreSQL would seem odd -- though I do wonder if that might pay off in some ways.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: