Hello again Techies,
I suspect a bug in my Workspace Manager. When the spatial support person secures the tables for versioning, it does not allow you to alter the constraints on the table. This is expected behaviour. So Oracle provides packages to alter these versioned tables via a "temp" table using(DBMS_WM.beginDDL), but even after doing so I cannot alter the constraint, in fact now we can't even see the constraint, although it does indeed exist. Confirmed in SYS.ALL_WM_RIC_INFO.
Example;
He gets this when doing an update on the version-enabled table, 'RIVERS'.
ORA-02291: integrity constraint violated - parent key not found
As a result he wants to disable the constraint. So runs this.
execute DBMS_WM.BeginDDL('RIVERS'); ## This creates the temp table, RIVERS_LTS ##
alter table RIVERS_LTS disable constraint INDX_10_RIVER_FK;
ORA-02431: cannot disable constraint (INDX_10_RIVERS_FK) - no such constraint
I've been reading this, and on Metalink there are no hits for such a problem existing. Worth noting I am running 10.2.0.4.4 of WorkspaceMan on a 10.2.0.4 32bit install on a Suse Linux OS.
Has anyone with experience in WorkspaceMan come across such a scenario?
I suspect a bug in my Workspace Manager. When the spatial support person secures the tables for versioning, it does not allow you to alter the constraints on the table. This is expected behaviour. So Oracle provides packages to alter these versioned tables via a "temp" table using(DBMS_WM.beginDDL), but even after doing so I cannot alter the constraint, in fact now we can't even see the constraint, although it does indeed exist. Confirmed in SYS.ALL_WM_RIC_INFO.
Example;
He gets this when doing an update on the version-enabled table, 'RIVERS'.
ORA-02291: integrity constraint violated - parent key not found
As a result he wants to disable the constraint. So runs this.
execute DBMS_WM.BeginDDL('RIVERS'); ## This creates the temp table, RIVERS_LTS ##
alter table RIVERS_LTS disable constraint INDX_10_RIVER_FK;
ORA-02431: cannot disable constraint (INDX_10_RIVERS_FK) - no such constraint
I've been reading this, and on Metalink there are no hits for such a problem existing. Worth noting I am running 10.2.0.4.4 of WorkspaceMan on a 10.2.0.4 32bit install on a Suse Linux OS.
Has anyone with experience in WorkspaceMan come across such a scenario?