You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
springboot 2.2.6 release
mybatis-spring-boot-starter: 2.1.2
mysql 5.7.24
mapper.xml:
select id, intTypeField, dataTimeTypeField from mysqltable where id=123 for update
select id, dataTimeTypeField, intTypeField from mysqltable where id=123 for update
the first sql statement will throws java.sql.SQLDataException: Unsupported conversion from LONG to java.sql.Timestamp,
but the second sql statement (only exchange location of the last two fields) will be ok.
these two sql statements executed well under springboot 2.1.1 release.