ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andreafey <andrea....@noaa.gov>
Subject Re: problem with simple <result ... select=../>
Date Mon, 23 Apr 2007 15:15:57 GMT

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"
	<property name="configLocation" value="classpath:sql-map-config.xml"/>

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

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.

View raw message