Bug report:

In 3.5.17 a change was made to DateOnlyTypeHandler.java that effected the return type of multiple functions.

https://github.com/mybatis/mybatis-3/pull/3247/files#diff-3100284b93f6e47f7e09229bac897dc14edbb2e162002f24e804113f49d8b6a6L47

Previously a java.util.Date object was returned from the "getNullableResult" functions. After the change now java.sql.Date objects are returned.

MyBatis version

3.5.17

Database vendor and version

Test case or example project

Steps to reproduce

Expected result

Actual result

Comment From: harawata

Thank you for the report, @JoshKloster ,

If you are keen, please send us a pull request. If you are busy, that's fine. I'll fix it when I have time.

Comment From: JoshKloster

https://github.com/mybatis/mybatis-3/pull/3334 - thank you!

Comment From: harawata

3334 is merged.

Thank you, @JoshKloster !