摘要:
第一种在sql语句中起别名: 如: <select id="getEmployeeById" resultMap="myMap"> select id id,q_name qName from employees where id = #{id} </select> 第二种驼峰命名法: <!-- < 阅读全文
posted @ 2021-01-03 11:28
十二lq
阅读(220)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2021-01-03 11:24
十二lq
阅读(118)
评论(0)
推荐(0)
摘要:
第一种办法:在web.xml中引入过滤器 <filter> <filter-name>CharacterEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter< 阅读全文
posted @ 2021-01-03 11:21
十二lq
阅读(154)
评论(0)
推荐(0)
摘要:
beans.xml配置文件 <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSc 阅读全文
posted @ 2021-01-03 11:17
十二lq
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号