Spring JDBCTemplate VS Hibernate in terms of performance
来源:互联网 发布:js闭包的好处 编辑:程序博客网 时间:2024/05/17 06:06
If you do all you can to make both implementations very fast, the JDBC template will probably be a bit faster, because it doesn’t have the overhead that Hibernate has. But it will probably take much more time and lines of code to implement.
Hibernate has its learning curve, and you have to understand what happens behind the scenes, when to use projections instead of returning entities, etc. But if you master it, you’ll gain much time and have cleaner and simpler code than with a JDBC-based solution.
I would say that in 95% of the cases, Hibernate is fast enough, or even faster than non-optimized JDBC code. For the 5% left, nothing forbids you to use something else, like Spring-JDBC for example. Both solutions are not mutually exclusive.
- Spring JDBCTemplate VS Hibernate in terms of performance
- Compile- vs load-time weaving performance in Spring
- Spring JdbcTemplate RowMapper vs ResultSetExtractor
- Java JDBC Performance vs. iBatis vs. Hibernate
- spring 集成hibernate和jdbcTemplate
- integer addition in terms of bit operators, just for fun
- The mixed programming in terms of matlab and C++
- What is Likelihood in terms of continuous probability distribution?
- What is the advantage of load() vs get() in Hibernate?
- Performance of unix sockets vs TCP ports
- ListView vs ListBox performance in WPF
- WebSamba Terms of Service
- Terms of Workflow
- Some terms of Accounting
- Terms of Service
- Terms of Service
- Terms of Service
- Terms of Service
- 社群系统 ThinkSNS+ 0.7.1 版本研发播报
- Android studio 2.4 支持java 8 特性
- 远程桌面关闭后如何恢复原会话连接
- 详解 js 闭包
- Fragment的导包问题
- Spring JDBCTemplate VS Hibernate in terms of performance
- STL Queue与Stack用法
- web开发者不可不知的网络知识
- Android VR Player(全景视频播放器) [1]:项目介绍
- 异步处理 io_service 相关
- uboot移植第二天——代码分析(2)
- jQuery中的事件冒泡、事件捕获和事件追加引发的问题
- 工作第四天
- apache,php安装配置