关闭窗口
字体: 特大
My feeling for the performance [#2296863@0 -ROLIA.NET]
My feeling for the performance
by newtoronto (一家三口) at 2005.5.15 15:48
I think depends on the business requirement. Lots of project's transaction composed by 10 - 30% insert/update and 70% is select clause. By this case, hibernate will faster than pure JDBC, because the data result is cached. (Actually inside HIBERNATE, also calling the JDBC).

But for the high insert/update requirements, I think pure JDBC code, wrapped by DAO will be faster than Hibernate. Of course, for the huge project, maintain lots of DAOs will be a nightmare.

Just my 2cents.

话题 版权声明 关闭窗口