This content has been marked as final.
Show 4 replies
-
-
2. Re: invalidating entity bean cache
nraghuram Nov 25, 2003 10:47 PM (in response to auswalk)One possible solution
Write a finder ejb-ql to return all the entities matching your criteria.
write a dummy method in the entity bean which throws a non-application exception. this will invalidate the cached instance
You could do these after you execute the update sql.
If you find a better solution pls post it
thanks
raghu -
3. Re: invalidating entity bean cache
auswalk Dec 3, 2003 10:51 AM (in response to auswalk)Argh. I was hoping for something a little more elegant and efficient.