![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dbcp
niceguy_smile
Java资深技术专家,专注于java领域,并发编程,jvm,分布式微服务等 欢迎各位大佬共同交流技术
展开
-
springboot整合dbcp+jdbctemplate
JdbcTemplate我们平时很少用,但是呢对于做开发的我们还是熟悉一下比较好 项目架构为: 表结构为: CREATE TABLE `t_user` ( `id` int(12) NOT NULL AUTO_INCREMENT, `user_name` varchar(60) NOT NULL, `sex` int(3) NOT NULL DEFAULT '1', ...原创 2019-11-08 22:08:06 · 742 阅读 · 0 评论 -
springboot整合dbcp A component required a bean of type 'javax.sql.DataSource' that could not be found.
加上 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> 就好了原创 2019-11-08 08:09:40 · 6834 阅读 · 1 评论