cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Skladaniec <>
Subject re-fething object from the database
Date Fri, 28 Apr 2006 07:55:18 GMT

I have two contexts containing the same entity.
- one contains the list of all entities of this type - ListContext
- second contains only one entity for editing - EditContext

I would like to notify the relevant context(s) when the object  
changes, so it needs to be refreshed. How can I do it ? I thought  
there was a notification mechanism in 3t-cayenne, but I cant find a  
word about it anymore.

What is the best way to force object to be re-faulted from database ?  
I tried to set persistence state to hollow but it does not work.


Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001

View raw message