org.springframework.orm.ibatis.support
Class SqlMapDaoSupport
- public class SqlMapDaoSupport
- Author:
- Juergen Hoeller
- Since: 29.11.2003
| Method Summary |
final void | afterPropertiesSet() |
final void | setDataSource(DataSource dataSource) Set the JDBC DataSource to be used by this DAO. |
final void | setSqlMap(SqlMap sqlMap) Set the iBATIS Database Layer SqlMap to work with. |
final void | setSqlMapTemplate(SqlMapTemplate sqlMapTemplate) Set the JdbcTemplate for this DAO explicitly,
as an alternative to specifying a DataSource. |
afterPropertiesSet
public final void afterPropertiesSet()
throws java.lang.Exception
setDataSource
public final void setDataSource(DataSource dataSource)
- Set the JDBC DataSource to be used by this DAO.
setSqlMap
public final void setSqlMap(SqlMap sqlMap)
- Set the iBATIS Database Layer SqlMap to work with.
setSqlMapTemplate
public final void setSqlMapTemplate(SqlMapTemplate sqlMapTemplate)
- Set the JdbcTemplate for this DAO explicitly,
as an alternative to specifying a DataSource.
to Class org.springframework.orm.ibatis.SqlMapTemplate