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/10/10 06:42:16 UTC

[GitHub] [shardingsphere] ryan-hao opened a new issue, #14125: java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp

ryan-hao opened a new issue, #14125:
URL: https://github.com/apache/shardingsphere/issues/14125

   version
   shardingsphere-jdbc-core-spring-boot-starter', version: '5.0.0
   
   ![image](https://user-images.githubusercontent.com/50565298/146398507-3fd5919d-4a84-4b5a-8cc8-3cf306847bb8.png)
   ![image](https://user-images.githubusercontent.com/50565298/146398818-21f0b6c2-dbbf-4faf-9d11-f215e8a27d17.png)
   
   java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp
   	at org.apache.shardingsphere.driver.jdbc.core.resultset.ResultSetUtil.convertLocalTimeValue(ResultSetUtil.java:139) ~[shardingsphere-jdbc-core-5.0.0.jar:5.0.0]
   	at org.apache.shardingsphere.driver.jdbc.core.resultset.ResultSetUtil.convertValue(ResultSetUtil.java:65) ~[shardingsphere-jdbc-core-5.0.0.jar:5.0.0]
   	at org.apache.shardingsphere.driver.jdbc.core.resultset.ShardingSphereResultSet.getObject(ShardingSphereResultSet.java:371) ~[shardingsphere-jdbc-core-5.0.0.jar:5.0.0]
   	at org.springframework.jdbc.support.JdbcUtils.getResultSetValue(JdbcUtils.java:229) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.BeanPropertyRowMapper.getColumnValue(BeanPropertyRowMapper.java:401) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.BeanPropertyRowMapper.mapRow(BeanPropertyRowMapper.java:312) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:94) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.RowMapperResultSetExtractor.extractData(RowMapperResultSetExtractor.java:61) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:453) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:381) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:465) ~[spring-jdbc-5.3.12.jar:5.3.12]
   	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:475) ~[spring-jdbc-5.3.12.jar:5.3.12]


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

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


Re: [I] java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian closed issue #14125: java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp
URL: https://github.com/apache/shardingsphere/issues/14125


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


[GitHub] [shardingsphere] github-actions[bot] closed issue #14125: java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #14125: java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp
URL: https://github.com/apache/shardingsphere/issues/14125


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


Re: [I] java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #14125:
URL: https://github.com/apache/shardingsphere/issues/14125#issuecomment-2026022208

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


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


[GitHub] [shardingsphere] linghengqian commented on issue #14125: java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #14125:
URL: https://github.com/apache/shardingsphere/issues/14125#issuecomment-1701292098

   - @ryan-hao I can't test this Error Log on my example. Please provide a git that includes this unit test.


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


[GitHub] [shardingsphere] github-actions[bot] commented on issue #14125: java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #14125:
URL: https://github.com/apache/shardingsphere/issues/14125#issuecomment-1272350562

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


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


Re: [I] java.lang.ClassCastException: java.sql.Time cannot be cast to java.sql.Timestamp [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #14125:
URL: https://github.com/apache/shardingsphere/issues/14125#issuecomment-2026138130

   - It is largely impossible to reproduce in the master branch unless you provide unit tests.


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