Closed IgorMaksymov closed 8 years ago
Fixed in #134
@vaa25 should @AndriyBaibak close this issue as duplicate?
@vkuchyn I fixed this bug in #134 that already in master, but @IgorMaksymov reopened it. I guess he broked this test again. Maybe he failed merge with master, I didn't penetrate.
@IgorMaksymov Is there some reason for reopen?
@vkuchyn i remembered that you are closing issues.
@IgorMaksymov I see. So, next time - leave a comment please - @
Выдает такую ошибку:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: Error getting generated key or setting result to parameter object. Cause: org.apache.ibatis.binding.BindingException: Parameter 'id' not found. Available parameters are [password, user, param1, param2]
Проблема в маппере
org.itevents.dao.mybatis.mapper.UserMapper#addUser
не удается получить полеRole.id
если передавать только 1 параметр в маппер(@Param
или вообще без аннотации) то Майбатис получает значение нормально.