注册

Error attempting to get column 'xxx' from result set。SQLFeatureNotSupportedException是达梦JDBC的问题吗

hh 2024/01/11 849 2

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】: DM8
【操作系统】:win11
【CPU】:
【问题描述】*:

org.springframework.dao.InvalidDataAccessApiUsageException: Error attempting to get column 'create_time' from result set.  Cause: java.sql.SQLFeatureNotSupportedException
; SQL []; null; nested exception is java.sql.SQLFeatureNotSupportedException
	at org.springframework.jdbc.support.SQLExceptionSubclassTranslator.doTranslate(SQLExceptionSubclassTranslator.java:94)

create_time 在java项目代码里是java8的 LocalDate 或是 LocalDateTime 类型的字段,是不是映射 ResultSet 的时候类型不匹配?
我们使用的驱动版本是 8.1.2.79 。

回答 0
暂无回答
扫一扫
联系客服