You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Nilesh Bhattad <ni...@outlinesys.com> on 2005/01/27 22:49:05 UTC
Reset sqlmaps
Hi,
Is there a way to reload a modified sqlmap file at runtime? Sorry if
this is a repost. I couldn't find a similar topic in archives.
If I understand it right, every time a change is made in sqlmap file,
server need to be restarted in order to take effect of the new changes.
Just wondering if is there any way to reset the SqlMapClient instance so
that it will load the new changes.?
~ Nilesh
Re: Reset sqlmaps
Posted by Clinton Begin <cl...@gmail.com>.
iBATIS isn't tied to the server in any way. You can simply rebuild
the SqlMapClient from the XML file any time you want, without
restarting the server. Your only concern might be connections to the
DB that you should probably forcefully close.
Clinton
On Thu, 27 Jan 2005 16:49:05 -0500, Nilesh Bhattad
<ni...@outlinesys.com> wrote:
>
>
>
> Hi,
>
>
>
> Is there a way to reload a modified sqlmap file at runtime? Sorry if this is
> a repost. I couldn't find a similar topic in archives.
>
>
>
> If I understand it right, every time a change is made in sqlmap file, server
> need to be restarted in order to take effect of the new changes. Just
> wondering if is there any way to reset the SqlMapClient instance so that it
> will load the new changes…?
>
>
>
> ~ Nilesh