I was just pondering the locking semantics of this methodology. Do we need to use 'for update' on this select, to avoid other concurrent updates - especially if the items interacting with this db are working on individual rows for inserts/deletes/updates.