为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:DM8
【操作系统】:Linux
【CPU】:
【问题描述】*:mybatis-plus支持在返回值中存在枚举类,mysql中字段类型时int类型,但是移动到DM数据库后,不能自动转换枚举类,请问有啥解决方法?
org.springframework.jdbc.UncategorizedSQLException: Error attempting to get column 'device_status' from result set. Cause: java.sql.SQLException: 不支持的接口或功能
uncategorized SQLException; SQL state [HYC00]; error code [6030]; 不支持的接口或功能; nested exception is java.sql.SQLException: 不支持的接口或功能
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:89) ~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) ~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
切换驱动即可