'm working in an environment that has multiple applications which use a mix of 
EJB and straight database calls.

The problem is if a database record is updated by one of the applications, the 
EJB container doesn't know about it. It takes a while before the container 
removes the entity bean from it's cache and reloads it from the database.

In the meantime the container continues to serve the old data.

Is there a way to tell the container to flush an object from it's cache?
Is there a way to mark an entity bean (BMP) as "dirty"?

(I'm not talking about "JbossCache" here.) 

I posted this in the "beginners" section, but I think this forum is a better 
place for it (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78898)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929449#3929449

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929449


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to