org.springframework.orm.ibatis.support
Class SqlMapDaoSupport


public class SqlMapDaoSupport

Author:
Juergen Hoeller
Since: 29.11.2003

Method Summary
 final voidafterPropertiesSet()
           
 final voidsetDataSource(DataSource dataSource)
          Set the JDBC DataSource to be used by this DAO.
 final voidsetSqlMap(SqlMap sqlMap)
          Set the iBATIS Database Layer SqlMap to work with.
 final voidsetSqlMapTemplate(SqlMapTemplate sqlMapTemplate)
          Set the JdbcTemplate for this DAO explicitly, as an alternative to specifying a DataSource.

Method Detail

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.

Association Links

to Class org.springframework.orm.ibatis.SqlMapTemplate