mybatis 설정 썸네일형 리스트형 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.. Spring 3.2.3 + myBatis 3.2.2 기존에 사용하던 Spring 3.1에서 3.2.3으로 변경했다. 하는김에 myBatis도 최신으로 변경.. 이러다가 그냥 back-end를 다 최신으로 변경하기로 작정하고 작업 진행.. applicationContext.xml 에서 myBatis 설정이 조금 변경되었다. org.springframework.orm.ibatis.support.SqlMapClientDaoSupport as of Spring 3.2, in favor of the native Spring support in the Mybatis follow-up project (http://code.google.com/p/mybatis/) org.springframework.orm.ibatis.SqlMapClientFactoryBean as o.. 이전 1 다음