13998475189 opened a new issue #9187:
URL: https://github.com/apache/shardingsphere/issues/9187
When querying sharding JDBC 4.1.1 integration mybatis 3.5.4, there is a time
type field of localdatetime in the return value set, and an error is reported.
After research, this error is that mybatis version 3.5.4 calls the GetObject
method to process the localdatetime time time lattice, while sharding JDBC
version 4.1.1 does not implement the processing of this object. I hope the
official will rewrite resultset in version 4.1.1 to solve the bug.
The error is as follows:
error messageļ¼java.sql.SQLFeatureNotSupportedException: getObject with type
at
org.apache.shardingsphere.shardingjdbc.jdbc.unsupported.AbstractUnsupportedOperationResultSet.getObject(AbstractUnsupportedOperationResultSet.java:221)
~[sharding-jdbc-core-4.1.1.jar:4.1.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_251]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_251]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_251]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_251]
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]