Hi,
there was a change in MyBatis which requires now a JDBC 4.2 compliant JDBC driver, otherwise LocalDate won't work.
I have updated our HSQL driver to the newest version, which fixed that problem with HSQL.
However, Redshift JDBC 4.2 newest version 1.2.27.1051 still errors:
org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='endDate', mode=IN, javaType=class java.lang.Object, jdbcType=DATE, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}.
I have tried with and without HikariCP.
Is the Redshift driver not fully compliant or am I missing something?
MyBatis 3.4.5 worked fine with LocalDate and Redshift.
Thanks!
Regards,
Thomas