updated features always returns while transaction is active if you are working with Shapefile
open shapefile ,
get feature store,
update feature "Feature.1","Feature.4"
query feature store for "Feature.2".
query result returns "Feature.1","Feature.4" and "Feature.2".
Previously updated record allways returns whatever query is.
You can see this bug in udig ( current 2.0 Alpha1 at github ).
udig scnerio ;
edit a geometry ( "Feature.1") and accept changes ( do not commit transaction),
start editing another geometry ("Feature.2") at shapefile ,
you will see previously edited geometry ("Feature.1") also selected. if you continue editing and accept changes you made at 2nd geometry ("Feature.2") previously edited geometries("Feature.1") updated the last edited one.("Feature.2")