![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
zhu1289303556
这个作者很懒,什么都没留下…
展开
-
maven 将本地jar加入到仓库内
mvn install:install-file -DgroupId=包名 -DartifactId=项目名 -Dversion=版本号 -Dpackaging=jar -Dfile=jar文件所在路径 1,本地D盘中有个jar,例如:D:\QRCode.jar 2,cmd 中执行mvn install 命令 格式为:转载 2017-04-24 12:43:36 · 275 阅读 · 0 评论 -
Mybatis中example类的使用
要使用example类,先要在项目中导入mybatis.mapper的jar包。Mapper接口中包含了单表的增删改查以及分页功能。给出实例:CountryMappermapper = sqlSession.getMapper(Country.class);//Country.class是实体类//查询操作List<Country>cList = mapper.select(new C...转载 2018-03-06 21:43:25 · 8705 阅读 · 0 评论