ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <paul4chris...@yahoo.com>
Subject Re: Reload SqlMap xml file
Date Wed, 09 Nov 2005 23:20:41 GMT
I have the same problem. I've seen this requested before but I don't think there is a solution.

--- Ming Xue <ming.xue@plateau.com> wrote:

> Hi 
> I am using Spring with SqlMap, the sqlMapClient is configured as a Spring bean, during
> development, I need to modify the sqlMap xml file (actual SQLs) very often, but in order
> apply the change, I need to restart my Jboss server, so sqlMapClient can reload those
xmls. Is
> there a way to reload sqlMap xmls without restarting server (on demand)?
> thanks
> Mingyuan XUE
> Plateau Systems.
>      <bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean"
> lazy-init="true">
>          <property name="configLocation" value="WEB-INF/sqlmap-config.xml"/>
>          <property name="dataSource"><ref bean="DS"/></property>
>          <property name="lobHandler"><ref bean="LOBHandler"/></property>
>      </bean>

Yahoo! FareChase: Search multiple travel sites in one click.

View raw message