MyBatis学习 之 2、SQL语句映射文件(2)增删改查、参数、缓存

2、SQL语句映射文件(2)增删改查、参数、缓存    2.2 select 一个select 元素很是简单。例如:mysql Xml代码   <!-- 查询学生,根据id -->   <select id="getStudent" parameterType="String" resultMap="studentResultMap">       SELECT ST.STUDENT_ID,  
相关文章
相关标签/搜索