Do you have caching turned on?

I think cached results are still used even if you edit the config
file. If so, might be nice to have a "flush on config change" option.

On 8/5/05, Angel Valero <[EMAIL PROTECTED]> wrote:
> Thanks for your answer Bob. I've edited the
> sqlmap.config file after editing my map file but still
> getting the same output :-(
> 
> After editing the config files I get the next output
> in log files:
> 
> DEBUG 2005-08-05 08:31:32,968 72750ms
> ConfigWatcherHandler   rHandler_OnChanged -
> ConfigWatcherHandler : Changed [usuario.xml]
> DEBUG 2005-08-05 08:31:32,968 72750ms
> ConfigWatcherHandler   rHandler_OnChanged -
> ConfigWatcherHandler : Changed [usuario.xml]
> DEBUG 2005-08-05 08:31:44,671 84453ms
> ConfigWatcherHandler   rHandler_OnChanged -
> ConfigWatcherHandler : Changed [sqlmap.config]
> DEBUG 2005-08-05 08:31:44,671 84453ms
> ConfigWatcherHandler   rHandler_OnChanged -
> ConfigWatcherHandler : Changed [sqlmap.config]
> DEBUG 2005-08-05 08:31:57,046 96828ms
> ConfigWatcherHandler   rHandler_OnChanged -
> ConfigWatcherHandler : Changed [dao.config]
> DEBUG 2005-08-05 08:31:57,046 96828ms
> ConfigWatcherHandler   rHandler_OnChanged -
> ConfigWatcherHandler : Changed [dao.config]
> 
> it seems like the application detect my changes but
> the application output still the same.
> 
> For example, in the map file usuario.xml I have a
> select like this:
> 
> select upper(name) name, age from table_person where
> id = #value#
> 
> so when I display the name of a person I get "ANGEL"
> 
> then I edit the xml map file and change the select for
> this one:
> 
> select LOWER(name) name, age from table_person where
> id = #value#
> 
> after this I've edited and saved de dao.config and the
> sqlmap.config but the output still being : "ANGEL"
> 
> If I want the changes take place I have to delete de
> project dlls and build the project again. :(
> 
> What I'm doing wrong?
> 
> Thanks in advance,
> 
> Angel
> 
> 
>  --- Bob Hanson <[EMAIL PROTECTED]> escribió:
> 
> > Edit the sqlmap.config file after editing your map
> > file(s) and it
> > should reload. Only the config file is being
> > watched.
> >
> > On 8/4/05, Angel Valero <[EMAIL PROTECTED]> wrote:
> > > Hi, I'm playing with iBatis (sqlMapper and
> > DaoManager)
> > > in an asp.net application and I have a question.
> > > Always I do a change in a map xml file I have to
> > > restart the web aplicattion. Is this issue normal?
> > I'm
> > > doing something wrong? I'm developing a test
> > > application copied from the NPetShop.
> > >
> > > Thanks in advance.
> > >
> > > Angel.
> > >
> > >
> > >
> > > ______________________________________________
> > > Renovamos el Correo Yahoo!
> > > Nuevos servicios, más seguridad
> > > http://correo.yahoo.es
> > >
> >
> 
> 
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.yahoo.es
>

Reply via email to