03 2019 档案
摘要:在做maven项目时,依赖的jar全部在pom.xml中管理。那么已经下载好的本地jar包,如何在maven项目中使用呢?下面我介绍2种亲测可用的方法: 键入指令:mvn install:install-file -DgroupId=alipay -DartifactId=alipay-trade-
阅读全文
摘要:相对于dbcp、c3p0等连接池,druid性能更优越,提供可视化的sql监控页面,简直是目前最好用的数据库连接池没有之一。 那么如何快速集成springboot+druid呢? 导包 <dependency> <groupId>com.alibaba</groupId> <artifactId>d
阅读全文
摘要:相对于传统的SSM框架,springboot+mybatis的方式更加轻便,那么如何快速集成二者进入开发呢? mapper接口+xmlmapper接口: public interface PaymentMapper { public PayRecord select(@Param("orderNo"
阅读全文