iBatis 学习总结
1. 创建 iBas 工程的步骤.............................................................................................................. 2
2. iBas 与传统 JDBC 比较............................................................................................................. 2
3. Hibernate 和 ibas 的映射关系.................................................................................................. 2
4. 认识 SqlMapClient 接口............................................................................................................. 2
5. SqlMapCong 标签详解............................................................................................................. 3
(1) <properes>元素.............................................................................................................. 3
(2) < se"ngs> 元素................................................................................................................. 4
(3) < typeAlias>元素............................................................................................................... 4
(4) < transaconManager>元素.............................................................................................. 4
(5) < datasource>元素............................................................................................................ 4
(6) <sqlMap >元素.................................................................................................................. 5
6. SqlMap 标签详解....................................................................................................................... 5
(1) <cacheModel>................................................................................................................... 5
(2) <typeAlias> 类别名........................................................................................................... 5
(3) <parameterMap> 参数类型外联映射关系.......................................................................5
(4) <resultMap>返回类型显示映射关系...............................................................................6
(5) <select>............................................................................................................................. 6
(6) <insert>............................................................................................................................. 7
(7) <update>........................................................................................................................... 8
(8) <delete>............................................................................................................................ 8
(9) <procedure>...................................................................................................................... 8
(10) <statement> 执行 DDL 语句............................................................................................ 9
(11) <sql> SQL 语句片段......................................................................................................... 9
(12) <include> 组合语句......................................................................................................... 9
(13) <selectKey>.................................................................................................................... 10
7. SQL 参数详解........................................................................................................................... 10
8. ibas 事务处理......................................................................................................................... 11
9. 动态 SQL................................................................................................................................... 11
(1) 一元条件标签................................................................................................................ 11
(2) 二元条件标签................................................................................................................. 11