Thread-topic: Insert not happening to database table after migrating mapping files from toplink10.*

Hi,

We are migrating from toplink10.* to eclipselink. So I converted the existing toplink mwp file and some java files using eclipselink rename tool. Also changed the type conversion mapping to Object type mapping.

Using toplink mapping every thing works fine but with eclipselink insert is not happening to one of the table. I am doing JpaHelper.getEntityManager(entityManager).getUnitOfWork().deepMergeClone(obj) to insert and update records in database. Also tried mergeClone(obj), shallowMergeClone(obj). With Toplink mapping getToplinkTemplet().deepMerge(obj) was used earlier.

Its able to fetch records from database and update the existing record. Insert is happening if all fields are direct to field mapping.

I tried with eclipselink 2.3.2 as well as 2.4.0, issue is there for both version.

We have used following type of mapping through eclipselink workbench,

Direct to Field,

One to One,

One to Many,

Object type,

Aggregate

Some of the field were inherited from super class and are mapped in the child class. Also we have inheritance(inheritance tab) to map to a particular column with some specific value.

Thanks,

Dilip

Information transmitted by this e-mail is proprietary to MphasiS, its associated companies and/ or its customers and is intended
for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded
to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at mailmaster@xxxxxxxxxxx and delete this mail from your records.