S++

千线一眼

导航

2022年3月7日 #

mybatis-CRUD操作(增删改查

摘要: 前提 每一个Dao.xml或者说Mapper.xml都要绑定映射在sqlMapConfig.xml的数据库配置文件中 <mappers> <!-- 使用配置文件(需要自己创建……配置……)--> <mapper resource="Dao.xml的路径(用/分级"/> <!-- 使用注解 <mapp 阅读全文

posted @ 2022-03-07 10:19 S++ 阅读(42) 评论(0) 推荐(0)