Remember, Hibernate just gets turned into SQL calls that run over JDBC under the covers, so it's all SQL and JDBC. It's apples to apples.
But can you optimize your SQL because you know your database better than Hibernate? Of course! There's always a balance.
But I haven't seen too many projects fails due to one or two extra SQL calls. Not being able to get something working, or being able to maintain a project, well, that's where projects fail. Hibernate helps you develop, maintain, and improve your applications and minimize application development lifecycle. That's pretty darn valuable.
_________________ Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?" http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials
|