getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
executor.startBatch();
while(....){
// job....
}
return new Integer( executor.executeBatch()) ;
}
});
'JAVA > Framework' 카테고리의 다른 글
struts2 에서 iterator 에 , 붙이면서 마지막 콤마 안찍기.... (0) | 2008.12.04 |
---|---|
Resin 2.x 버전과 3.0.x 버전대에서 Ibatis 사용시 XML 파싱 못할때... (0) | 2007.10.11 |
[펌] iBatis의 SqlMaps 사용 시 IN 절 처리 (0) | 2007.06.26 |
으아... 짱난ㄴ다... 삽질삽질 ... (0) | 2005.05.12 |
[link]spring ide (0) | 2005.04.27 |