org.springframework.orm.ibatis.support.SqlMapClientDaoSupport Java Examples
The following examples show how to use
org.springframework.orm.ibatis.support.SqlMapClientDaoSupport.
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 File: BaseIbatisDAO.java From AsuraFramework with Apache License 2.0 | 2 votes |
/** * * 设置当前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(); }