[jboss-user] [JBossCache] - Invalidate cache for an Entity Bean?
do-not-reply at jboss.com
Sun Mar 18 01:22:06 EDT 2007
I have an entity bean which is marked as NonShared with commit option A. a new backend application is coming up which can update the data via direct jdbc calls. this happens rarely but when that will happen my entity bean if already cached will get out of sync with the changes updated .
I have two options here.
1. Make the enetity bean shared so that it can come in sync with database.
2. Stop updating via direct jdbc calls, go via ejb only.
But I am thinking if.
I can invalidate the cache for that particular bean But do not know how to do it or there is some other better option?
Jboss in non-cluster mode.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029092#4029092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029092
More information about the jboss-user