ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: refresh pb
Date Fri, 24 Nov 2006 03:55:26 GMT
sqlMapClient.flushDataCache(cacheName);

On 11/23/06, soussou97 <dboussebha@yahoo.fr> wrote:
>
> Hi;
>
> I have a simple application which display the list of customers into a MYSQL
> database and I use Ibatis for that. But there is another externe application
> which use also the same database and can update the customer table.
> For performance problem I use Ibatis cache for all select :
> getAllCustomer(), getCustomerByID, ... but I have a refresh problem when the
> dabase is updated by external application.
> Q : I would like a refresh when a user click on the buttion to display the
> customer with the news customers created ? How find a solution for this
> problem : delete the cache or there is a solution ?
>
> Thank's
>
> --
> View this message in context: http://www.nabble.com/refresh-pb-tf2693400.html#a7510969
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message