Programming Tutorials

Comment on Tutorial - Hibernate Vs. JDBC ( A comparison) By Emiley J.



Comment Added by : Giao Vu

Comment Added at : 2011-08-03 23:40:02

Comment on Tutorial : Hibernate Vs. JDBC ( A comparison) By Emiley J.
Hibernate can be an effective framework if one approaches the application design holistically, and full understanding of how the mapping between the Hibernate specification and the actual database with actual data. Otherwise, people may discover to their surprise that the application falls flat on its face during actual use. Hibernate generates the necessary queries methodically. If the object hierarchy defined is complex, a simple operation may result in hundreds of SQL queries actually getting executed, possibly bringing the database server down to its knees. Be extra careful with any one-to-many relationship. Even lazy fetching strategy might not save the application.

View Tutorial