Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help on integrity constraint issue
Morning,
>> When a transaction has
>> not committed yet, it means it's not real yet and not ready for other
>> sessions to look at.
So in your test case, that would imply that the table is still effectivel empty for the other session, in which case ....
>> So returning an error in my view is more natural
>> or intuitive.
... returning an error to say that the data session 2 is inseting conflicts with data that is not yet 'really' in the table could be misleading. Especially if session 1 subsequentl;y issues a rollback. What is session 2 going to find when he/she looks at the table to find out why they got an error ? Absolutely nothing there and so they will think something is broken.
HTH
Regards,
Norman.
Norman Dunbar EMail: Norman.Dunbar_at_LFS.co.uk Database/Unix administrator Phone: 0113 289 6265 Fax: 0113 289 3146 Lynx Financial Systems Ltd. URL: http://www.Lynx-FS.com ------------------------------------------------------------------------
![]() |
![]() |