- 2
- 0
- 约小于1千字
- 约 24页
- 2017-04-23 发布于北京
- 举报
第二章mybatis配置详解与api介绍[理论]
第2章 MyBatis配置详解与API介绍;本章内容;本章目标;Mybatis的结构与原理;MyBatis功能架构; MyBatis配置文件;配置文件的元素properties;Settings ;typeAliases ;typeHandlers ;environments ;transactionManager ;dataSource ; mappers ;SQL映射的XML文件;select ;Select中的属性 ;insert id=insertAuthor parameterType=domain.blog.Author
insert into Author (id,username,password,email,bio)
values (#{id},#{username},#{password},#{email},#{bio})
/insert
update id=updateAuthor parameterType=domain.blog.Author
update Author set
username = #{username},
password = #{password},
email = #{email},
bio = #{bio}
where id = #{id}
/update
delete id=deleteA
原创力文档

文档评论(0)