摘要: 阅读全文
posted @ 2022-11-28 20:36 李林林 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1.applicationContext.xml <bean id="andy" class="com.imooc.spring.ioc.entity.Child"> <constructor-arg name="name" value="安迪"/> <constructor-arg name="a 阅读全文
posted @ 2022-11-28 20:21 李林林 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1.数据库事务 2.新增 3.实现步骤 3.1 goods.xml 在插入的时候没有插入主键是因为主键设置成了自增字段,<selectKey >的作用是进行主键回填 <insert id="insert" parameterType="com.imooc.mybatis.entity.Goods" 阅读全文
posted @ 2022-11-28 20:06 李林林 阅读(92) 评论(0) 推荐(0) 编辑