摘要:
<insert id="insert" paramType="User"> <selecKey keyProperty="id" order="BEFORE" resultType="int"> select user_sequence.nextval form dual </selectKey> 阅读全文
摘要:
异常代码: @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框架 阅读全文
摘要:
springMVC数据绑定,对我们而言,能够更轻松的获取页面的数据,但是必须要注意的一点就是: Controller方法中的参数名和jsp页面里的参数名字是否一致或者按照绑定的规范来写 在Controller中@RequestParam("m_level") Integer m_level 那么在j 阅读全文