Could not obtain connection metadata
来源:互联网 发布:ubuntu软件源更新失败 编辑:程序博客网 时间:2024/05/17 22:09
用hibernate连接数据库出现错误
009 - 09 - 27 17 : 38 : 15 , 093 [main] WARN [org.hibernate.cfg.SettingsFactory] - Could not obtain connection metadata
java.sql.SQLException: 不支持的特性
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134 )
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179 )
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269 )
at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:689 )
at oracle.jdbc.OracleDatabaseMetaData.supportsGetGeneratedKeys(OracleDatabaseMetaData.java:4180 )
at com.mchange.v2.c3p0.impl.NewProxyDatabaseMetaData.supportsGetGeneratedKeys(NewProxyDatabaseMetaData.java:3578 )
.
找了一下,原来是我的jar包有问题,我还是使用原来oracle9i的classes12.jar,下了一个最新的叫ojdbc14.jar。试了一下 OK
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/langzi1105/archive/2010/01/23/5247069.aspx
- Could not obtain connection metadata
- Could not obtain connection metadata
- Could not obtain connection metadata
- Could not obtain connection metadata问题
- WARN SettingsFactory:109 - Could not obtain connection metadata
- hibernate错误;Could not obtain connection metadata : 不支持的特性
- Could not obtain connection metadata 查看SQL SERVER2012端口
- 没有用数据库却提示我Could not obtain connection metadata
- WARN SettingsFactory:140 - Could not obtain connection metadata
- 用Hibernate+Proxool连Oracle RAC时报“Could not obtain connection metadata”的解决办法
- SSH整合报错:Could not obtain connection to query metadata
- Could not obtain connection to any of these urls:
- Could not obtain connection to any of these urls:
- Could not obtain connection to any of these urls: localhost:1099
- JBoss错误:"Could not obtain connection to any of these urls"的解决方法
- Could not write metadata for...
- Could not obtain the localhost address...解决方法
- 异常:could not obtain transaction-synchronized
- GeoServer学习手记(十):一个完整的WMS请求响应过程
- linux进程间通信之消息队列
- CSS实现frameset
- linux下抓数据包
- 爱立信工资标准
- Could not obtain connection metadata
- 如何限制窗体的最大改变量
- junit4
- linux进程间通信之共享内存
- SQL分组排序
- 风险投资
- JAX-WS2.0入门实例
- 挑战自我,勇攀高峰
- Flex RPC错误小结