Hello,
I have a use case where a database field that is entered by the user should be unique.
In the database there is already a record for example "name1".
The user inserts a new record and puts for its name "name1" as well. Then for some reason decides to delete the first existing record and tries to save the new record "name1".
On commit the old record 'name1' is not deleted yet but the new record with 'name1' is trying to be inserted.
Then I am getting error: Attribute value 'name1' leads to duplicate keys for this entity type. oracle.jbo.AttrValException...
Is there a way to execute delete before insert on commit or another work around?
JDev Version 11.1.2.3.0
Regards