Disabling contextual LOB creation as createClob() method threw error



项目环境: Struts-2.3.16.3

                Hibernate-4.3.6

                Spring-4.1.1

在启动Jetty时,一直报这个错,对项目却没有影响。但是总看着不是那么爽。

               Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException

于是,百度,百度,找到这个,可能的原因:  Hibernate is just verifying if the DB supports some features and adjusting itself in case it doesn't.So, it's trying to determine if it can use some new JDBC 4 methods. I guess your driver may not support the new LOB creation method

如果不想看到这个消息,可以在hibernate配置里加上 hibernate.temp.use_jdbc_metadata_defaults" ---- false 就可以了。更新驱动没试过。有兴趣的可以试一下。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值