«« Next » « Previous
«« Next » « Previous

Link Details

DZone depends on you. Login and vote now.
Link 61573 thumbnail

By mosheco
via j2ee-now.blogspot.com
Published: Jan 16 2008 / 08:50

There is a wrong assumption that Hibernate is slower then JDBC, this is not true, this article would shows how to write fast Hibernate applications
  • 10
  • 19
  • 3672
  • 1639

Comments

Add your comment
User 264297 avatar

gfxpulse replied ago:

0 votes Vote down Vote up Reply

I really doubt that one test of inserts is really 'final' proof that hibernate is just as fast as jdbc....

User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

LoL. Hibernate is based on JDBC.

User 181930 avatar

jwenting replied ago:

0 votes Vote down Vote up Reply

the eternal argument is whether database access through Hibernate is slower than through handcrafted JDBC code.
This centers mostly around the performance of Hibernate generated SQL and the way Hibernate may split database operations that a smart coder might handcraft into a single operation.

In reality any difference is usually small compared to the time savings tools like Hibernate can provide on medium to large projects, and easily compensated for by (if needed) using slightly more powerful hardware for servers.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.