I am using iBatis in my J2EE application.

My DAO extends SqlMapClientDaoSupport and has the following line in one of the methods.
Code:
getSqlMapClientTemplate().queryForList("someNameSpace.procedureIdName", parm);

However, I keep getting error: No SqlMapClient specified

I saw the api's and noticed that there is a setSqlMapClientTemplate() in SqlMapClientDaoSupport. But it takes in a parameter of SqlMapClientTemplate. I do not know how to get that....?

what Can I do so my above mentioned line of code works? I do not want to make an interface for my DAO. I would like for my DAO to access the iBatis directly...

I have the following beans in my xmls:
Code:
<bean id="MySqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
  <property name="configLocation" value="classpath:sql-map-config-oracle.xml"/>
  <property name="dataSource" ref="IbatisDataSourceOracle"/>
 </bean>
<bean id="IbatisDataSourceOracle" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="jdbc/RSRC/comp/my/oltp"/>
</bean>
  <bean id="IncomeDAO" class="reports.IncomeDAO">
    <property name="sqlMapClient" ref="MySqlMapClient"/>
    <property name="dataSource" ref="IbatisDataSourceOracle"/>
 </bean>