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 2022/05/18 03:18:16 UTC

[GitHub] [shardingsphere] linghengqian commented on issue #17752: Add support for more JSR-310 related classes in IntervalShardingAlgorithm

linghengqian commented on issue #17752:
URL: https://github.com/apache/shardingsphere/issues/17752#issuecomment-1129523608

   - I've noticed that when `IntervalShardingAlgorithm` and `LocalDateTime` are strongly coupled to properties other than the incoming value, this is a difficult thing for me to deal with due to my lack of experience dealing with the common parent class of `LocalDateTime` and `LocalDate`. Hope some friends can help improve the design of `org.apache.shardingsphere.sharding.algorithm.sharding.datetime.IntervalShardingAlgorithm`. There is still a lack of support for the following classes.
       - `java.time.LocalDate`(JDBC Type is Date in Mybatis)
       - `java.time.LocalTime`(JDBC Type is Time in Mybatis)
       - `java.time.OffsetTime`(JDBC Type is Time in Mybatis)
       - `java.time.Year`(JDBC Type is INTEGER in Mybatis)
       - `java.time.Month`(JDBC Type is INTEGER in Mybatis)
       - `java.time.YearMonth`(JDBC Type is VARCHAR or LONGVARCHAR in Mybatis) 
       - `java.time.chrono.JapaneseDate`(JDBC Type is Date in Mybatis) 


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org