Hi, Just been reading Java Persistence With Hibernate (Ch. 10 - specifically P.460 & P.464) and noticed that twice it is stated there that you can expose a getter but an application should not be allowed to modify the version of an entity.
Looking at User from AppFuse 2.0.2, I see there is a setter provided for the version property. Is there a particular reason for this? Would I be correct in thinking that a version property is not defined for the role entity as it is generally static? and furthermore would it be advisable to provide a version for every dynamic (frequently edited) entity that we define ourselves? Regards, Matthew Relevent links http://www.nabble.com/-appfuse-user--Version-Table-Column-td596323s2369.html#a596323 ----- Regards, Matthew -- View this message in context: http://www.nabble.com/Optimistic-Locking---User-version-property-tp19306746s2369p19306746.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]