SPRING MYBATIS INTERFACE사용 썸네일형 리스트형 [SPRING]SPRING의 MYBATIS를 XML이 아닌 INTERFACE를 이용하여 사용하기 SPRING의 MYBATIS를 XML이 아닌 INTERFACE를 이용하여 사용하기 1. Sqlfactory 셋팅 2. Mapper로 사용할 interface 코딩public interface TestDao { @Select("select * from board2") @Results(value={ @Result(property="seq", column="seq"), @Result(property="title", column="title"), @Result(property="regName", column="reg_name"), @Result(property="regId", column="reg_id") }) public List selectBoardList(); @Insert("insert into boar.. 더보기 이전 1 다음