问题:
根据文档配置命名sql文件,通过id 执行命名sql,但是程序执行失败,报错:There is no statement named select_id in this SqlMap,异常如下:
解答:
执行命名sql时,需要传select_id全名(在id上右键-复制全名),只传id或者包路径不对时报There is no statement named select_id in this SqlMap.
问题:
根据文档配置命名sql文件,通过id 执行命名sql,但是程序执行失败,报错:There is no statement named select_id in this SqlMap,异常如下:
解答:
执行命名sql时,需要传select_id全名(在id上右键-复制全名),只传id或者包路径不对时报There is no statement named select_id in this SqlMap.