- 博客(4)
- 收藏
- 关注
原创 c3p0在maven下面的使用
c3p0在maven下面的使用导入依赖 <dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.9.2.1</version> </dependency> <dependency>
2020-05-11 10:24:30
1054
原创 java.sql.SQLException: Connections could not be acquired from the underlying database!
今天学习连接池c3p0遇到这个错误 java.sql.SQLException: Connections could not be acquired from the underlying database!刚开始还以为是c3p0-config.xml 配置有问题 看了半天没错 之后又以为是mysql版本的问题 于是去更改mysql的版本 发现还是这个错误在仔细看看这个错误Co...
2020-04-22 22:07:18
3449
原创 PreparedStatement预编译的一些讲解
PreparedStatement预编译mysql默认开启预编译处理?那我们该如何预编译呢链接:可以参考原文https://blog.youkuaiyun.com/alex_xfboy/article/details/83901351mysql默认开启预编译处理?- 来看我们经常用到的连接 url=jdbc:mysql://127.0.0.1:3306/demo?charesterEncoding=...
2020-04-22 16:42:39
666
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人