Hibernate_c3p0_报错_AbstractMethodError:OracleConnection.getHoldability()I
错误日志如下 :
2010-07-15 12:04:29,097 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] WARN com.mchange.v2.c3p0.impl.NewPooledConnection - oracle.jdbc.driver.OracleConnection@10c0fa7 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 oracle.jdbc.driver.OracleConnection that provoke errors of type java.lang.AbstractMethodError when getHoldability() is called.
java.lang.AbstractMethodError: oracle.jdbc.driver.OracleConnection.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)
可以看出可能是Oracle的驱动问题。
但是不影响使用。
It's not an error, it's a warning. I don't really know anything about
the Oracle driver, but I'm sure the Oracle forums probably have threads
on this issue. I'd guess the method simply isn't implemented hence the
message.
分享到:
相关推荐
Element titleElement = (Element) titleList.item(0); String title = titleElement.getTextContent(); System.out.println("Title: " + title); NodeList authorList = bookElement.getElementsByTagName("author...
在Java编程中,连接Oracle数据库通常需要使用Java Database Connectivity(JDBC)技术,这是一个Java API,它使得Java程序能够与各种数据库进行交互。Oracle JDBC驱动是Oracle公司提供的用于连接Java应用和Oracle...
Exception in thread "main" java.lang.AbstractMethodError: org.apache.lucene.analysis.TokenStream.incrementToken()Z 换用svn里源码版正常 http://paoding.googlecode.com/svn/trunk/paoding-analysis/
Spring+Jersey+Mybatis小实例,为了搭建这个折腾了两天,其中一天是因为jar包版本引起的,一直报异常:java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/...
java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.isValid(I)Z 查看官方说明之后才知道这个jar包是给jdk1.4用的,无语。。。 下载了新的ojdbc8,然后加入到我的maven仓库中,在引入到我的项目中...
java.lang.AbstractMethodError: be.telio.mediastore.ui.upload.GarryMultiPartRequest.cleanUp()V at org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper.cleanUp(MultiPartRequestWrapper.java:...
java-struts2.2的驱动包 2009-8-29 14:02:04 org.apache.catalina...信息: Jk running ID=0 time=0/125 config=null 2009-8-29 14:02:46 org.apache.catalina.startup.Catalina start 信息: Server startup in 41293 ms
中文分词是自然语言处理(NLP)领域中的基础任务,它是将连续的汉字序列切分成具有语义的词汇单元,对于理解和分析中文文本至关重要。本文将深入探讨基于Trie树、有向无环图(DAG)、动态规划以及Viterbi算法的中文...
java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object; at org.apache.cxf.staxutils.StaxUtil...
Exception in thread "main" java.lang.AbstractMethodError: org.apache.lucene.analysis.TokenStream.incrementToken()Z at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField....
13. **AbstractMethodError** - 当应用程序试图调用一个抽象方法时,表示类的实现存在问题。 14. **AssertionError** - 断言失败时,会抛出此异常,用于调试和测试。 15. **ClassCircularityError** - 初始化类时...
【标题】"java.lang.AbstractMethodError" 是一个Java运行时错误,它通常发生在尝试调用一个抽象方法但没有具体的实现时。这个错误并不是由编译器捕获的,因为抽象方法在编译时并不需要具体实现,而是由JVM在运行时...
线程“ Thread-0”中的异常java.lang.AbstractMethodError:org.apache.deltaspike.beanvalidation.impl.CDIAwareConstraintValidatorFactory.releaseInstance(Ljavax / validation / ConstraintValidator;...
spring cloud学习必备。初学者必备。可做开发参考。 spring cloud学习必备。初学者必备。可做开发参考。 spring cloud学习必备。初学者必备。可做开发参考。
- **`java.lang.AbstractMethodError`**:抽象方法错误。当应用程序试图调用抽象方法时抛出。 - **`java.lang.AssertionError`**:断言错误。用于指示断言失败的情况。 - **`java.lang.ClassCircularityError`**:类...
警告如果使用Flutter Beta或Dev通道(1.25或1.26),则会出现以下错误: java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View...
在Android系统中,`IPackageStatsObserver.aidl` 和 `PackageStats.aidl` 是两个重要的接口定义文件,它们是Android Interface Definition Language (AIDL) 文件,用于跨进程通信(IPC, Inter-Process Communication...
- AbstractMethodError:运行时遇到抽象方法未实现。 - IllegalAccessError:尝试访问受限制的类成员。 - NoClassDefFoundError:类在编译时存在,运行时找不到。 - NoSuchMethodError:运行时类结构与编译时不一致...
1. AbstractMethodError:抽象方法错误,当应用试图调用抽象方法时抛出。 2. AssertionError:断言错,用于指示一个断言失败的情况。 3. ClassCircularityError:类循环依赖错误,在初始化一个类时,若检测到类之间...