You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/05/04 06:41:03 UTC

[GitHub] [shardingsphere] liunancun opened a new issue #5420: Does not support getObject with type yet?

liunancun opened a new issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420


   Using MyBatis to return a LocalDateTime type field gives an error.
   
   java.sql.SQLFeatureNotSupportedException: getObject with type
   	at org.apache.shardingsphere.shardingjdbc.jdbc.unsupported.AbstractUnsupportedOperationResultSet.getObject(AbstractUnsupportedOperationResultSet.java:221) ~[sharding-jdbc-core-4.1.0.jar:4.1.0]
   	at org.apache.ibatis.type.LocalDateTimeTypeHandler.getNullableResult(LocalDateTimeTypeHandler.java:38) ~[mybatis-3.5.2.jar:3.5.2]
   
   The sharding-jdbc version used is 4.1.0
   
   Is there a way to solve this error?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] tuohai666 commented on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
tuohai666 commented on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-633411664


   > In the release note, it says "Upgrade to Java 8", so I wonder what had been upgrade.
   
   JDK, grammar, dependiencies... had been update to Java 8


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] tuohai666 commented on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
tuohai666 commented on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-624421530


   Sharding-JDBC doesn't support getObject with type for now. You can try getTimestamp


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] tuohai666 edited a comment on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
tuohai666 edited a comment on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-633411861


   Sharding-JDBC doesn't support generic result now.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] kimmking commented on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-623807497


   doesn't support yet.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] tuohai666 closed issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
tuohai666 closed issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] tuohai666 commented on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
tuohai666 commented on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-651035648






----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] laingke commented on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
laingke commented on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-625759174


   In the release note, it says "Upgrade to Java 8", so I wonder what had been upgrade.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] alterhu2020 commented on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
alterhu2020 commented on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-633982132


   Why not fixed, it's LocalDateTime support yet?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [shardingsphere] tuohai666 commented on issue #5420: Does not support getObject with type yet?

Posted by GitBox <gi...@apache.org>.
tuohai666 commented on issue #5420:
URL: https://github.com/apache/shardingsphere/issues/5420#issuecomment-633411861


   Sharding-JDBC doesn't support doesn't support generic result now.


----------------------------------------------------------------
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:
users@infra.apache.org