springmvc_Ibatis框架
fanshengli_1227
这个作者很懒,什么都没留下…
展开
-
The matching wildcard is strict, but no declaration can be found for element 'mv
报错: [/WEB-INF/user-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element '...原创 2013-07-03 18:06:11 · 384 阅读 · 0 评论 -
ibatis动态查询复杂语句比较
1,查询数据记录(查询表中某字段integral所在的数据小于传来的参数consumintegral的所有记录) <select id="myshops4" parameterClass="int" resultMap="exchangemap"> <![CDATA[ select * from exchange_goods where integral...原创 2013-07-19 15:01:56 · 151 阅读 · 0 评论 -
spring连接数据库的两种方式
1,将仿问数据库连接的住处放到spring.xml中 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns...原创 2013-07-20 11:19:22 · 150 阅读 · 0 评论 -
待研究领域
getDao().queryList("queryShopByid", shopid); getDao().queryObject("queryShopByid", shopid); 有时候用queryObject得到的数据不全,什么原因原创 2013-07-22 14:24:27 · 109 阅读 · 0 评论