标签: java datasource connection-pooling
当我尝试编写数据库连接池时,它找不到ComboPooledDataSource的类型。为什么会这样?
ComboPooledDataSource
答案 0 :(得分:0)
确保在类路径中有c3p0 jar并在类中导入了com.mchange.v2.c3p0.ComboPooledDataSource。
com.mchange.v2.c3p0.ComboPooledDataSource