select o.object_type, t.table_name from acs_objects o, acs_object_types t where o.object_id = :revision_id and o.object_type = t.object_type