开发工具:
文件大小: 1mb
下载次数: 0
上传时间: 2012-08-21
详细说明: 3 第二章入门.......................................................................................................................................4 一、从XML 中创造SqlSessionFactory...........................................................................................4 二、不使用XML 文件新建SqlSessionFactory................................................................................ 5 三、使用SqlSessionFactory 获取SqlSession................................................................................... 5 四、探究SQL 映射语句......................... .......................................................................................6 五、作用域和生命周期................................................................................................................. 7 1. SqlSessionFactoryBuilder..................................................................................................7 2. SqlSessionFactory............................................................................................................ 7 3. SqlSession......................................................................................................................7 4. Mapper 实例................................................................................................................... 8 第三章Mapper 的XML 配置文件........................................................................................................ 9 一、属性(properties)................................................................................................................. 9 二、设置(settings)...................................................................................................................10 三、类型别名(typeAliases)...................................................................................................... 11 四、类型句柄(typeHandlers)....................................................................................................12 五、对象工厂(ObjectFactory).................................................................................................. 13 六、插件(plugins)................................................................................................................... 14 七、环境(environments).......................................................................................................... 15 八、映射器(Mappers)..............................................................................................................18 第四章SQL 映射语句文件.................................................................................................................19 一、select.................................................................................................................................. 19 二、insert, update, delete.............................................................................................................. 20 三、SQL....................................................................................................................................23 四、参数(parameters).............................................................................................................. 23 五、resultMap............................................................................................................................ 25 六、缓存(cache)..................................................................................................................... 37 七、cache-ref 缓存引用...............................................................................................................39 第五章动态语句............................................................................................................................... 40 if ............................................................................................................................................... 40 choose, when, otherwise................................................................................................................41 trim, where, set............................................................................................................................41 foreach.......................................................................................................................................43 第六章Java API................................................................................................................................45 一、目录结构............................................................................................................................. 45 二、SqlSessions..........................................................................................................................46 三、SqlSession........................................................................................................................... 49 第七章SelectBuilder......................................................................................................................... 55 第八章SqlBuilder.............................................................................................................................58 ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.