首页 > 数据库技术 > 详细

SPRING IN ACTION 第4版笔记-第十章Hitting the database with spring and jdbc-001-Spring对原始JDBC的封装

时间:2016-03-31 18:35:07      阅读:221      评论:0      收藏:0      [点我收藏+]

1.spring扩展的jdbc异常

技术分享

 

技术分享

2.Template的运行机制

Spring separates the fixed and variable parts of the data-access process into two distinct classes: templates and callbacks. Templates manage the fixed part of the process,whereas your custom data-access code is handled in callbacks. Figure 10.2 shows the responsibilities of both classes.

技术分享

3.spring支持的template

技术分享

 

 

SPRING IN ACTION 第4版笔记-第十章Hitting the database with spring and jdbc-001-Spring对原始JDBC的封装

原文:http://www.cnblogs.com/shamgod/p/5342169.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!