Stale Value Objects

We are using Session Beans, Data Access Objects, and Value Objects in our application (no EBs). A majority of our database tables do not have timestamp columns and we are wondering how others handle stale value objects when timestamps aren't available. Is adding the timestamp column the best way to fix this? Has anyone implemented a different solution?

Thanks,

[390 byte] By [b450] at [2007-9-26 14:35:16]
# 1
Use the traditional stale/dirty flag processing model.
MartinS. at 2007-7-2 16:29:11 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
http://developer.java.sun.com/developer/technicalArticles/ebeans/sevenrules/
MartinS. at 2007-7-2 16:29:11 > top of Java-index,Other Topics,Patterns & OO Design...
# 3

I assume that if use processing flags for the state of these objects u will be still have problem of data integrity,If you use session beans its good to use a time stamp column in the database and that time stamp can be used as a check value,.. if u had used BMP that u could u have used processing flags in BMP

There is a good pattern defined on this issue on www.theserverside.com have a look at it

thanks

Jay

muttu at 2007-7-2 16:29:11 > top of Java-index,Other Topics,Patterns & OO Design...