Originally posted by John King:
It is not just that Hibernate (or JDO, JPA) is new for me. The performance overhead introduced by ORM framework has to be considered also.
Has anyone done any analysis on this?
[ November 14, 2007: Message edited by: John King ]
Originally posted by Mark Spritzler:
... you can in many cases make Hibernate or other ORM run faster than straight JDBC code.
...
Originally posted by John King:
Hibernate is built on JDBC. How can you make Hibernate over perform direct JDBC?
PJ Murray -
Originally posted by PJ Murray:
You can't, of course! (Assuming you write perfect Hibernate and perfect JDBC code - a big assumption). Perfectly optimized Hibernate will always be slower than perfectly optimized JDBC.
As you point out, Hibernate is a layer on top of JDBC. For some reason, this is an area of huge sensitivity for Hibernate fans (I've no idea why.....)