2016年10月16日

摘要: <insert id="insert" paramType="User"> <selecKey keyProperty="id" order="BEFORE" resultType="int"> select user_sequence.nextval form dual </selectKey> 阅读全文
posted @ 2016-10-16 14:45 知其一叶 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 异常代码: @Insert("insert into t_member(m_id,m_name,m_phone,m_level,m_card_no) values(#{m_id},#{m_name),#{m_phone},#{m_level},#{m_card_no})") 在使用Mybatis框架 阅读全文
posted @ 2016-10-16 12:58 知其一叶 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: springMVC数据绑定,对我们而言,能够更轻松的获取页面的数据,但是必须要注意的一点就是: Controller方法中的参数名和jsp页面里的参数名字是否一致或者按照绑定的规范来写 在Controller中@RequestParam("m_level") Integer m_level 那么在j 阅读全文
posted @ 2016-10-16 12:48 知其一叶 阅读(150) 评论(0) 推荐(0) 编辑

导航