关于C3p0Plugin连接SQL2000

weixin_38051062 2013-12-17 08:17:21
 开发四年只会写业务代码,分布式高并发都不会还做程序员?->>>    @JFinal 你好,想跟你请教个问题:波哥,我用原生态连接SQL2000数据正常的,为啥用C3p0Plugin插件出现一下错误的! Starting JFinal 1.5 Starting scanner at interval of 5 seconds. Starting web server on port: 88 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/G:/测试项目/JFinal/jfinal_demo/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/G:/%e6%b5%8b%e8%af%95%e9%a1%b9%e7%9b%ae/JFinal/jfinal_demo/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 2013-12-17 08:15:51 [WARN]-[Thread: com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2]-[com.mchange.v2.c3p0.impl.NewPooledConnection.carefulCheckHoldability()]: com.microsoft.jdbc.sqlserver.SQLServerConnection@7be8c2 threw an Error when we tried to check its default holdability. This is probably due to a bug in your JDBC driver that c3p0 can harmlessly work around (reported for some DB2 drivers). Please verify that the error stack trace is consistentwith the getHoldability() method not being properly implemented, and is not due to some deeper problem. This message will not be repeated for Connections of type com.microsoft.jdbc.sqlserver.SQLServerConnection that provoke errors of type java.lang.AbstractMethodError when getHoldability() is called. java.lang.AbstractMethodError: com.microsoft.jdbc.sqlserver.SQLServerConnection.getHoldability()I  at com.mchange.v2.c3p0.impl.NewPooledConnection.carefulCheckHoldability(NewPooledConnection.java:117)  at com.mchange.v2.c3p0.impl.NewPooledConnection.<init>(NewPooledConnection.java:109)  at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:198)  at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)  at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)  at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)  at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)  at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)  at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) Starting Complete. Welcome To The JFinal World :)    
...全文
43 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧