select object_id from acs_magic_objects where name = :name
select package_id
from acs_objects
where object_id = :object_id
select object_type
from acs_objects
where object_id = :object_id
update acs_objects
set context_id = :context_id
where object_id = :object_id
select 1
from acs_objects
where object_id = :id