Java.lang.IllegalStateException is Received When Smart Importing 11g Artifacts Into an ODI 12.2.1.2.6 Repository

(Doc ID 2382171.1)

Last updated on APRIL 16, 2018

Applies to:

Oracle Data Integrator - Version 12.2.1.2.6 to 12.2.1.2.6 [Release 12c]
Information in this document applies to any platform.

Symptoms

The following message is received when performing a Smart Import in Oracle Data Integrator (ODI) 12.2.1.2.6 when importing an ODI 11g smart export file:

Caused by: java.lang.IllegalStateException: During synchronization a new object was found through a relationship that was not marked cascade PERSIST: PropertyDefinition TARGET_LOAD_ORDER.
  at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.discoverUnregisteredNewObjects(RepeatableWriteUnitOfWork.java:313)
  at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:723)
  at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:441)
  at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:874)
  at oracle.odi.core.persistence.jpa.JpaOdiEntityManager.flush(JpaOdiEntityManager.java:181)
  ... 30 more

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms