java.sql.SQLFeatureNotSupportedException: null

发布时间:2022-07-04 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了java.sql.SQLFeatureNotSupportedException: null脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

 

 参考网址:

1.sPRingboot不同版本数据库连接驱动版本不一致的问题:https://blog.csdn.net/cxz7456/article/details/105693968

(也是一个问题,但是不适用于我的问题)

2.java.SQL.SQLFeatureNotSupportedException问题的解决方法:https://bLOG.csdn.net/hp961218/article/details/100632991

(思路是对的,但是没能解决我的问题)


 

1.报错信息:

  API Documentation:

  Error attempting to get column 'createdstamp' From result set.    Cause: java.sql.SQLFeatureNotSupportedExceptionn;   null; nested exception is java.sql.SQLFeatureNotSupportedException

  尝试从结果集中获取列“createdstamp”时出错。  原因:java.sql.SQLFeatureNotSupportedExceptionn;  无效的嵌套异常是java.sql.SQLFeatureNotSupportedException

  IDEA :

  java.sql.SQLFeatureNotSupportedException: null

2.报错原因:

  java中实体类用到了LocalDateTime类型,在转换时报错,【Error attempting to get column ‘XXX’ from result set. Cause: java.sql.】

  参考网址:https://blog.csdn.net/weixin_44771582/article/details/113924726

3.报错解决办法:

  更改pom依赖:

        <dePEndency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
            <version>1.1.22</version>
        </dependency>

  入参:

{
  "configId": 2428587962605240300
}

4.报错出现情况:

  根据ID查询数据  输入id出现错误。

脚本宝典总结

以上是脚本宝典为你收集整理的java.sql.SQLFeatureNotSupportedException: null全部内容,希望文章能够帮你解决java.sql.SQLFeatureNotSupportedException: null所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。