Hi
thnks
I've discovered my error, I tried to put cache, two
Sql operations with the same id="CONFIGURACIONSelect"
<select id="CONFIGURACIONSelect"
resultClass="configuracion" cacheModel="cacheConfBiz">
SELECT [Key],VALUE,APLICACION,ID_CONFIGURATION,
ENCRIPTACION FROM CONFIGURATION_BIZ
where APLICACION=#APLICACIONS#
</select>
I executed two opertations but with different values
of "#APLICACIONS#", but only recovered the first
operation, because it was in cache. I thought that if
I change the value, Ibatis would create a new Sql in
Cache.
tnks
> The cache has been working for quite some time. Are
> you able to get
> IBatisNet working normally without the cache? The
> error message you're
> seeing looks a general ASP.Net error and not
> necessarily by IBatisNet.
> I've seen that error while trying to access a page
> while the app domain
> is reloading itself (i.e. you go to a page while the
> web application is
> reloading itself).
>
> --- Mariano <[EMAIL PROTECTED]> wrote:
>
> >
> > hello alls
> >
> > Ive tried use Ibatis cache but it doesnt work.
> >
> > This is my SqlMap
> >
> >
> > <?xml version="1.0" encoding="utf-8" ?>
> > <sqlMap namespace="Configuracion"
> >
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:noNamespaceSchemaLocation="SqlMap.xsd">
> >
> > <alias>
> > <typeAlias alias="configuracion"
> > type="Acceso.Configuracion, Acceso" />
> > </alias>
> >
> > <cacheModels>
> > <cacheModel id="cacheConfBiz"
> implementation="LRU">
> > <flushInterval minutes="5"/>
> > <flushOnExecute
> statement="CONFIGURACIONDelete"/>
> > <flushOnExecute
> statement="CONFIGURACIONUpdate"/>
> > <flushOnExecute
> statement="CONFIGURACIONInsert"/>
> > <property name="CacheSize" value="10"/>
> > </cacheModel>
> >
> > </cacheModels>
> >
> >
> > <statements>
> > <!-- PROCEDMIENTO SELECT -->
> > <select id="CONFIGURACIONSelect"
> > resultClass="configuracion"
> cacheModel="cacheConfBiz">
> > SELECT
> [Key],VALUE,APLICACION,ID_CONFIGURATION,
> > ENCRIPTACION FROM CONFIGURATION_BIZ
> > where APLICACION=#APLICACIONS#
> > </select>
> > </statements>
> >
> >
> > Show me this msg error
> > Server Application Unavailable
> > The web application you are attempting to access
> on
> > this web server is currently unavailable.�
> Please hit
> > the "Refresh" button in your web browser to retry
> your
> > request.
> > Administrator Note: An error message detailing the
> > cause of this specific request failure can be
> found in
> > the application event log of the web server.
> Please
> > review this log entry to discover what caused this
> > error to occur.
> >
> >
> >
> >
> > ______________________________________________
> > Renovamos el Correo Yahoo!
> > Nuevos servicios, m�s seguridad
> > http://correo.yahoo.es
> >
>
>
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es