![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ssm框架
Hao_RanYang
这个作者很懒,什么都没留下…
展开
-
查询自关联表,并将查询到的数据在页面显示
查询自关联表,并将查询到的数据在页面显示该处以ssm框架为例表结构实体类public class Category { private String cid; private String cname; private Category pid;//父分类 private String desc; private List<Category&...原创 2019-06-06 23:57:02 · 1554 阅读 · 0 评论 -
ssm配置文件
jdbc.properties配置driver=com.mysql.jdbc.Driverurl=jdbc:mysql://localhost:3306/goodsusername=rootpassword=root#定义初始连接数 initialSize=0 #定义最大连接数 maxActive=20 #定义最大空闲 maxIdle=20 #定义最小空闲 m...原创 2019-06-03 17:23:15 · 243 阅读 · 0 评论 -
【已解决】异常org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
报错信息org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.hlwxy.ssm.dao.CartitemMapper.findCartitemByCartItemId报错原因:mapper接口中的方法与mapper.xml中方法不匹配原代码(错误代码)//接口//查询所...原创 2019-06-16 17:20:36 · 320 阅读 · 0 评论 -
myBatis高级映射(映射到pojo中的pojo)
实体类import java.math.BigDecimal;import java.util.List;public class Cartitem { private String cartItemId;// 主键 private Integer quantity;// 数量 private Book book;// 条目对应的图书 private Use...原创 2019-06-12 08:19:35 · 1572 阅读 · 0 评论 -
ssm框架+MySQL批量添加和删除
1.批量添加jsp<form id="form1" action="${pageContext.request.contextPath}/order/addOrder" method="post"> <input type="hidden" name="cartItemIds" value="${cartItemIds}"/> <input type="hid...原创 2019-06-18 16:58:50 · 617 阅读 · 0 评论