The preceding example illustrates a simple way of solving the problem of outdated data. Through the application, you automatically remove a result set from the cache upon making a change to this result set in the database. This mechanism works perfectly provided that the only way to change the data you're working with is through your application. This will most likely be the case for applications like the one discussed in the preceding chapters. After all, there is no reason to have more
The preceding example illustrates a simple way of solving the problem of outdated data. Through the application, you automatically remove a result set from the cache upon making a change to this result set in the database. This mechanism works perfectly provided that the only way to change the data you're working with is through your application. This will most likely be the case for applications like the one discussed in the preceding chapters. After all, there...