org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'id' in 'cla

Mybatis configuration file determines if the sql statement takes a single parameter given.

solve:

A: mapper used @Param comment

Two: sql _parameter employed instead of the parameter, _parameter parameters instead of the original built-in objects

 

Guess you like

Origin www.cnblogs.com/z-mm/p/11131620.html