An interesting post from Ted Neward — he’s rushing to the defense of object databases, which came under attack from Gavin King (a Hibernate bigwig) over on blog.Hibernate.
What really shocks me about this piece is that Gavin King asserts: Object-relational mapping isn’t that hard, so there’s no need to eliminate it. As someone who has spent many long hours fighting with many obscure Hibernate error messages created by poorly-generated SQL and a lack of appropriate magic chanting, this just makes me angry. The ORM problem is one of the hardest and most tedius parts of new process development, because the way things make sense in an object-oriented world isn’t always how they make sense in a relational data world, and often those mappings aren’t as clean-cut as Hibernate needs them to be. Gavin refers to this problem as “really crazy legacy schemas”; Ted refers to it as the “dual schema problem”. Either way, it’s a pain. Beyond that, there’s the entire problem of business constraints on the database: often people aren’t in a position where they can generate new indecies or views, so their options are doubly-limited, and Hibernate is a notoriously poor tool for handling that. The fact that Gavin King has written it off as a solved problem (with a dash of “database refactoring”) just tells me that Hibernate’s leadership is out of touch with the real development work being done by the grunts in the trenches.
Related posts:
Pingback: Enfranchised Mind » NullPointerExceptions Are Not Helpful