DataContext dataContext = (DataContext)object.getObjectContext(); ObjectStore objectStore = dataContext.getObjectStore(); DataRow snapshot = objectStore.getSnapshot( object.getObjectId() );
Note that the keys in the returned snapshot correspond to your DbEntity rather than your ObjEntity. Cheers, - hugi > On 25. ágú. 2015, at 21:07, Lon Varscsak <lon.varsc...@gmail.com> wrote: > > Is there a way to get the committed value of a property? There have been a > few times with EOF where comparing the current value with the committed > snapshot is handy. > > -Lon