Skip to content

when we use @Param annotation, like this param.field, that cause my custom TypeHandler dosen't work #1445

@jervainy

Description

@jervainy

MyBatis version

mybatis:3.4.6 mybatis-spring-boot-starter:1.3.2

Database vendor and version

mysql:5.7

Test case or example project

git: https://gitee.com/jervain_y/demo-mybatis.git

Steps to reproduce

run testcase

Expected result

when we use @Param annotation, like this param.field, that cause my custom TypeHandler dosen't work

Actual result

this is run log

2019-01-15 14:15:05.393 DEBUG 6460 --- [           main] com.example.demo2.AMapper.updateMyOne    : ==>  Preparing: update a set demo=? where id = ? 
2019-01-15 14:15:05.417 DEBUG 6460 --- [           main] com.example.demo2.AMapper.updateMyOne    : ==> Parameters: [](ArrayList), 1(Integer)

expect Parameters: [](String), 1(Integer)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions