Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

ORA-02304: Invalid Object Identifier Literal While Doing Impdp

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarKiran Dalvi
  • 07 Dec, 2023
  • 0 Comments
  • 1 Min Read

ORA-02304: Invalid Object Identifier Literal While Doing Impdp

1
2
3
4
5
6
7
8
CREATE TYPE "TEST_CVGCM02"."TEST_TEST2" OID 'BE4C0AFD318A07CBE0443C4A923B4794' AS OBJECT
(
NAME varchar2(40),
AGE number(4),
ID number(5)
)
ORA-39083: Object type TYPE failed to create with error:
ORA-02304: invalid object identifier literal

Generally , at the time of import , we may get this error.

Login to database, Check whether that OID “BE4C0AFD318A07CBE0443C4A923B4794″ exists or not.

1
2
3
4
5
SQL> select owner,TYPE_NAME,TYPE_OID from dba_types where TYPE_OID='BE4C0AFD318A07CBE0443C4A923B4794';
 
OWNER TYPE_NAME TYPE_OID
------------------------------ ------------------------------ --------------------------------
PRODUCT TEST_SYSTEM BE4C0AFD318A07CBE0443C4A923B4794

As we can see that that another TYPE is already exists in the database which is using the same OID. So you need to create the type manually by using a new OID. Else drop the existing TYPE and try to import.

Alternatively, you can use the parameter transform=oid:n  during impdp.

Hope it Helps!