Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Migration from ODI 11g to 12c Error : ODI-14096 - The CREATE UNIQUE INDEX statement terminated becau

Eric CsplOct 22 2019

Hi,

i want to migrate my repositories from ODI 11g to ODI 12c.

I launch the "Oracle Fusion Middleware Upgrade Assistant and enter the correct informations.

It manages to migrate from 04.x.x.x to 05.01.01.01, then from 05.01.01.01 to 05.01.01.02, but when it tries to migrate from 05.01.01.02 to 05.01.01.03, i have an error ODI-14096

oracle.odi.setup.RepositorySetupException: com.sunopsis.repository.manager.upgrade.RepositoryUpgradeException: Error while executing DDL Patch M_05.01.01.02_05.01.01.03.xml

Caused by: com.sunopsis.repository.manager.upgrade.RepositoryUpgradeException: Error while executing DDL Patch M_05.01.01.02_05.01.01.03.xml

Caused by: java.lang.RuntimeException: Error while executing alter table SNP_USER_OBJ_METH add constraint AK_R_OBJ_METH_GUID unique ( GLOBAL_ID  )

Caused by: java.sql.SQLIntegrityConstraintViolationException: [FMWGEN][SQLServer JDBC Driver][SQLServer]The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.SNP_USER_OBJ_METH' and the index name 'AK_R_OBJ_METH_GUID'. The duplicate key value is (<NULL>).

I previously migrated from 10 to 11g, and perhaps is there some elements that are unstable since then ...

Can somebody help me to find what the problem is, please ?

Thanks.

Best regards,

Eric.

Comments
Post Details
Added on Oct 22 2019
0 comments
426 views