摘要: 相对于dbcp、c3p0等连接池,druid性能更优越,提供可视化的sql监控页面,简直是目前最好用的数据库连接池没有之一。 那么如何快速集成springboot+druid呢? 导包 <dependency> <groupId>com.alibaba</groupId> <artifactId>d 阅读全文
posted @ 2019-03-12 15:24 xiaopeng丶 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 相对于传统的SSM框架,springboot+mybatis的方式更加轻便,那么如何快速集成二者进入开发呢? mapper接口+xmlmapper接口: public interface PaymentMapper { public PayRecord select(@Param("orderNo" 阅读全文
posted @ 2019-03-12 14:58 xiaopeng丶 阅读(417) 评论(0) 推荐(0) 编辑