有趣的问题,我传递一个int,并抱怨它不匹配类型:
org.springframework.dao.InvalidDataAccessApiUsageException:参数值[0]与预期类型[java.lang.Integer]不匹配
@Procedure(procedureName = "dbo.do_cool_stuff_to_client")
void coolClientStuff(int clientId);
@H_404_9@
它被称为如此:
public void someOtherMethod(int clientId){
clientRepository.coolClientStuff(clientId);
}
@H_404_9@
最佳答案
原文链接:https://www.f2er.com/spring/431558.html