My Oracle Support Banner

Getting ORA-30373 when using DBMS_REPCAT_RGT.INSTANTIATE_OFFLINE or DBMS_REPCAT_RGT.INSTANTIATE_ONLINE (Doc ID 1067783.1)

Last updated on NOVEMBER 07, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.5 to 11.2.0.2.0 [Release 10.1 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

When running the following we get the error detailed:

SQL> SET SERVEROUTPUT ON
SQL> DECLARE
2 dt_num NUMBER;
3 BEGIN
4 dt_num := DBMS_REPCAT_RGT.INSTANTIATE_OFFLINE(
5 refresh_template_name => '<TEMPLATE_NAME>',
6 user_name => '<USER_NAME>',
7 site_name => '<SITE_NAME>',
8 next_date => sysdate,
9 interval => 'sysdate + (1/144)');
10 DBMS_OUTPUT.PUT_LINE('Template ID = ' || dt_num);
11 END;
12 /
DECLARE
*
ERROR at line 1:
ORA-30373: object data types are not supported in this context
ORA-06512: at "SYS.DBMS_REPCAT_RGT_CUST", line 1991
ORA-06512: at "SYS.DBMS_REPCAT_RGT", line 1330
ORA-06512: at line 4





Changes

We have the following objects setup:

create user <USER_NAME> identified by <password> default tablespace users;
grant dba to <USER_NAME>;

connect <USER_NAME>/<password>

create table <Table_Name>
(objectid number(38), job_id number(10),shape mdsys.sdo_geometry, se_anno_cad_data blob);

alter table <Table_Name> add constraint <PK_Name> primary key (objectid);

connect sys/<password>@<DBLink_Name> as sysdba

create user <USER_NAME2> identified by <password> default tablespace users;
grant dba to <USER_NAME2>;

begin
dbms_repcat_admin.grant_admin_any_schema(username => '<USER_NAME2>');
end;
/

begin
dbms_defer_sys.register_propagator(username => '<USER_NAME2>');
end;
/
grant execute any procedure to <USER_NAME2>;







Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.