What are the disadvantages of using an ORM like Hibernate? I do hope for an objective list of disadvantages, not an "ORM fanboy" list.
Sometimes, it feels like articles don't elaborate or minimize the disadvantages because the author likes the technology so much.
1) you might accidentally create a performance problem by loading too many entities.
2) if you have jdbc code using the same tables, you have to be careful with caching so both jdbc and orm are using the same data
Here's another one: you have to distribute several megabytes of jars along with your application. Of course like any other "disadvantage", that may be more or less important depending on your environment.
Screaming fools! It's nothing more than a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads