Spring 3.2 썸네일형 리스트형 myBatis DAO Pattern example GenericMyBatisDaoSupport.java package com.openerp.common.dao; import java.io.Serializable; import java.util.ArrayList; import org.apache.ibatis.exceptions.PersistenceException; public interface GenericMyBatisDaoSupport{ public T get(PK id) throws PersistenceException;//get obj of type T by the primary key 'id' public ArrayList getAll() throws PersistenceException;//get all objects of type T publ.. 이전 1 다음