Yes it has been talked about tons of times.
Anyway, ORM is a layer above JDBC. And ORMs like Hibernate has a decent sized learning curve. But, if you know the ORM tool and all of its features, there are times that with caching and all I can make a query run faster through Hibernate than through straight JDBC.
For the most part with lazy initialization and some basic design principles, the performance addition is negligible, and the ease of reading code, coding time, and decreased maintenance you save far far outweighs the minute performance degradation where found.
And remember this is my personal opinion of ORMs. And if I were to see a project that had JDBC code I would run far away from that company, personally.
Mark
Mark
[ March 27, 2008: Message edited by: Mark Spritzler ]