use Transaction API in ObjectCollection.