Mybatis經常使用註解總結

一.Mybatis經常使用註解 1>@Insert : 實現新增 2>@Update: 實現更新 3>@Delete: 實現刪除 4>@Select: 實現查詢 5>@Result: 實現結果集封裝 6>@Results: 能夠與@Result 一塊兒使用,封裝多個結果集 7>@ResultMap: 實現引用@Results 定義的封裝 8>@One: 實現一對一結果集封裝 9>@Many: 實現
相關文章
相關標籤/搜索