shining-stars-lk opened a new issue, #33747:
URL: https://github.com/apache/shardingsphere/issues/33747

   ## Question
   Using mysql queries, the code mapping LONGVARCHAR type is an error
   ## Version
   shardingsphere:5.3.2
   ## errorMessage
   Caused by: java.sql.SQLFeatureNotSupportedException: Get value from 
`java.sql.Clob`
        at 
org.apache.shardingsphere.infra.merge.result.impl.memory.MemoryMergedResult.lambda$getValue$0(MemoryMergedResult.java:73)
 ~[shardingsphere-infra-merge-5.3.2.jar:5.3.2]
        at 
org.apache.shardingsphere.infra.util.exception.ShardingSpherePreconditions.checkState(ShardingSpherePreconditions.java:41)
 ~[shardingsphere-infra-util-5.3.2.jar:5.3.2]
        at 
org.apache.shardingsphere.infra.merge.result.impl.memory.MemoryMergedResult.getValue(MemoryMergedResult.java:72)
 ~[shardingsphere-infra-merge-5.3.2.jar:5.3.2]
        at 
org.apache.shardingsphere.driver.jdbc.core.resultset.ShardingSphereResultSet.getClob(ShardingSphereResultSet.java:321)
 ~[shardingsphere-jdbc-core-5.3.2.jar:5.3.2]
        at 
org.apache.shardingsphere.driver.jdbc.core.resultset.ShardingSphereResultSet.getClob(ShardingSphereResultSet.java:326)
 ~[shardingsphere-jdbc-core-5.3.2.jar:5.3.2]
        at 
com.alibaba.druid.filter.FilterChainImpl.resultSet_getClob(FilterChainImpl.java:2214)
 ~[druid-1.1.10.jar:1.1.10]
        at 
com.alibaba.druid.filter.stat.StatFilter.resultSet_getClob(StatFilter.java:704) 
~[druid-1.1.10.jar:1.1.10]
        at 
com.alibaba.druid.filter.FilterChainImpl.resultSet_getClob(FilterChainImpl.java:2211)
 ~[druid-1.1.10.jar:1.1.10]
        at 
com.alibaba.druid.filter.stat.StatFilter.resultSet_getClob(StatFilter.java:704) 
~[druid-1.1.10.jar:1.1.10]
        at 
com.alibaba.druid.filter.FilterChainImpl.resultSet_getClob(FilterChainImpl.java:2211)
 ~[druid-1.1.10.jar:1.1.10]
        at 
com.alibaba.druid.proxy.jdbc.ResultSetProxyImpl.getClob(ResultSetProxyImpl.java:373)
 ~[druid-1.1.10.jar:1.1.10]
        at 
com.alibaba.druid.pool.DruidPooledResultSet.getClob(DruidPooledResultSet.java:1179)
 ~[druid-1.1.10.jar:1.1.10]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_361]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_361]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_361]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_361]
        at 
org.apache.ibatis.logging.jdbc.ResultSetLogger.invoke(ResultSetLogger.java:68) 
~[mybatis-3.4.4.jar:3.4.4]
        at com.sun.proxy.$Proxy313.getClob(Unknown Source) ~[?:?]
        at 
org.apache.ibatis.type.ClobTypeHandler.getNullableResult(ClobTypeHandler.java:41)
 ~[mybatis-3.4.4.jar:3.4.4]
        at 
org.apache.ibatis.type.ClobTypeHandler.getNullableResult(ClobTypeHandler.java:28)
 ~[mybatis-3.4.4.jar:3.4.4]
        at 
org.apache.ibatis.type.BaseTypeHandler.getResult(BaseTypeHandler.java:66) 
~[mybatis-3.4.4.jar:3.4.4]
   
   ## Other
   I see others have this problem too, 
link:[https://github.com/apache/shardingsphere/issues/2956](https://github.com/apache/shardingsphere/issues/2956)
   I didn't understand the advice mentioned in it, could you explain it again? 
Thank you
   


-- 
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.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to