Thanks, nmaves. My config is the same as yours now. Mike_'s response helped
me reorganize it. 

For the sake of helping others, this was the configuration which worked with
an earlier release, but not 2.3.0:

  <bean id="sqlMapClient"
class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
        <property name="configLocation" value="classpath:sql-map-config.xml"/>
  </bean>

  <bean id="stationDao"   class="abc.def.dao.ibatis.StationDao">
      <property name="sqlMapClient"><ref local="sqlMapClient"/></property>
      <property name="dataSource"><ref bean="dataSource"/></property>
  </bean>




nmaves wrote:
> 
> you might want to post your spring config file where you configure your
> datasource and sqlmap clients.
> 

-- 
View this message in context: 
http://www.nabble.com/problem-with-simple-%3Cresult-...-select%3D..-%3E-tf3492459.html#a10142163
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Reply via email to