Page 1 of 1

Unique Constraint Bug?

Posted: Fri 19 Feb 2010 15:56
by RobIntechnica
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

Posted: Tue 23 Feb 2010 10:35
by .jp
Sorry for the delay.
Yes, this is a bug and we have already reproduced it.
Please wait for a new build with the fix.

Posted: Tue 02 Mar 2010 16:57
by .jp
This bug is already fixed.
Please download the recent version of OraDeveloper Tools.

Posted: Fri 28 May 2010 09:58
by RobIntechnica
.jp wrote:This bug is already fixed.
Please download the recent version of OraDeveloper Tools.
Hi

I still get this with 2.55.168. Is the fix present in this version?

Also, I get an error that a DATE column cannot be null, even though this is set to a default of SYSDATE in DDL.

Thanks

Posted: Mon 31 May 2010 07:49
by Viktor
RobIntechnica wrote: I still get this with 2.55.168. Is the fix present in this version?
Thanks
Turn the paginal mode off.
This error still occurs if the paginal mode turned on. The 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.
Yes, this is a bug. Fix of the error will be included in the future versions.