Java Code Examples for org.springframework.orm.ibatis.support.SqlMapClientDaoSupport

The following examples show how to use org.springframework.orm.ibatis.support.SqlMapClientDaoSupport. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: AsuraFramework   Source File: BaseIbatisDAO.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * 
 * 设置当前iBatis映射信息
 *
 * @author zhangshaobin
 * @created 2012-12-13 下午12:31:20
 *
 * @param sqlMapClient	映射信息
 */
public void setCurrentSqlMapClient(SqlMapClient sqlMapClient) {
	SqlMapClientDaoSupport ibatisOperator = new SqlMapClientDaoSupport() {};
	ibatisOperator.setSqlMapClient(sqlMapClient);
	template = ibatisOperator.getSqlMapClientTemplate();
}