Hacker News new | ask | show | jobs
by raducu 1516 days ago
Hibernate brings incredible flexibility and power but also the temptation to overuse it.

Funny how time and time again I've had the same problems of making collections lazy, deciding when changes need to propagate and so on.

Nowadays I much prefer a much less powerful and simple ORM approach. Yes ORMs are great and all, but really, mapping between objects and SQL is not really that tedious, and managing the lifecycle of those in-memory entities by the ORM itself is error prone.

It's ironic that actually working for banks made me give up all the perfectly matched, normalized and "elegant" ORM stuff.