Hi
If you're inserting data using the OraDeveloper Tools to Append a row, but the PK is generated on the server using a trigger (e.g. supplied from a sequence), you get the following error if you haven't refreshed the table since the last insert:-
Column 'ID' is constrained to be unique. Value '' is already present.
Yes the value of the new column is NULL because it was left blank, but it won't violate the constraint as the trigger will guard against this.
Thanks
Unique Constraint Bug?
-
- Posts: 33
- Joined: Tue 09 Feb 2010 11:42
- Location: Manchester, UK
-
- Posts: 33
- Joined: Tue 09 Feb 2010 11:42
- Location: Manchester, UK
Turn the paginal mode off.RobIntechnica wrote: I still get this with 2.55.168. Is the fix present in this version?
Thanks
This error still occurs if the paginal mode turned on. The fix of the error will be included in the future versions.
Yes, this is a bug. Fix of the error will be included in the future versions.Also, I get an error that a DATE column cannot be null, even though this is set to a default of SYSDATE in DDL.