MyBatis 3 Annotation Example with @Select, @Insert, @Update and @Delete
By 난누구여긴어디 | 2019년 5월 12일 |
@Select : We need to provide select query as value. @Results : Maps column name and POJO property to get result in select query. @Insert : We need to provide insert query as a value. @Update : We need to provide update query as a value. @Delete : We need to provide delete query as a value. Find the Mapper interface. VillageMapper.javapackage com.concretepage;import org.apache.ibatis.annotations.