bean :

dataSource

transactionManager

sessionFactoryMaster

sqlSession


복사해서 다른 아이디 설정.


EgovAbstractMapper 를 상속받는 DAO에서 setSqlSessionFactory 재정의


@Resource(name = "sqlSession2")

public void setSqlSessionFactory(SqlSessionFactory sqlSession) {

super.setSqlSessionFactory(sqlSession);

}



'DATABASE' 카테고리의 다른 글

tibero backup  (0) 2016.06.30
ORACLE-BASE - String Aggregation Techniques  (0) 2016.06.30
oracle user 계정권한설정  (0) 2016.06.30
ORACLE UPDATE SELECT JOIN  (0) 2016.06.30
defaultStatementTimeout (iBATIS versions 2.2.0 and later)  (0) 2016.06.30

+ Recent posts