Skip to content

Unable to resolve result type when the target property has a getter with different return type #2834

Closed
@vlcheong

Description

@vlcheong

MyBatis version

3.5.12

Database vendor and version

Postgresql 14.7

Test case or example project

I've a test case which is working fine on MyBatis version 3.5.11. When I upgraded to 3.5.12, I got No typehandler found for property exception when my app startup, I've included a minimal test.

Steps to reproduce

Clone this then run the maven test

Expected result

MyBatis able to map the property

Actual result

Failed

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions