Unique Constraint Violation

Hi,

I am getting a UCV upon saving a screeneditor which involves several entities, hence being it difficult to track down what entity is causing the problem. All I have is a primary key. Is there any record anywhere where I can at least find out to what entity type it belongs?

Otherwhise I will have to search over all table entities seeking for the primary key, and as said they are quite a few.

Any help is greatly appreciated.

Regards,
Carlos Conti

I could resolve it.

Upon initialization I was creating a related instance via dataManager.create(), which presumably was storing the instance directly in the database, and at the same time holding a reference in the dataContext, which triggerred a UCV at commit.

Changing the line dataManager.create(), to dataContext.create() solved the issue.

Regards,

Carlos Conti.