I tried this:
select * from _sys_repo.active_object for update of active_object.change_number, active_object.released_at;
--commit; (with and without commit)
UPDATE _sys_repo.active_object SET change_number = 65835, released_at = '2015-09-02 18:45:16.5740000'
Also, I tried as below
select * from _sys_repo.active_object for update
But none of them worked....
But there is hope!!!!
I noticed that if I include a where statement the update works for ALL my packages apart from one! The sap package!! It seems sap package has an issue. I don't know what.
Basically what I'm doing is an update as below
UPDATE _sys_repo.active_object SET change_number = 65835, released_at = '2015-09-02 18:45:16.5740000'
where package_id like 'oneOfMyMainPackages%';
Now that it isn't working for sap package... I'm going to start trying doing something like:
UPDATE _sys_repo.active_object SET change_number = 65835, released_at = '2015-09-02 18:45:16.5740000'
where package_id like 'sap.bc%';
So, I'm planning to isolate sap subpackage which has this problem.
I'll be back soon!
Thanks again Lars.... you are of huge help! :-)