SpringMVC SSM Mybatis eclipsesegmentfault
Mybatis:Mapper method attempted to return null from a method with a primitive return type (int)
Mapper.xml的標籤用錯了。。。(低級錯誤,輕噴。。。)
好比原本應該:
插入語句用<insert></insert>
,更新語句用<update></update>
,刪除語句用<delete></delete>
app
結果全用成<select></select>
eclipse
用回對應的標籤就行。url
Mybatis:Mapper method attempted to return null from a method with a primitive return type (int).net