Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Simultaneous INSERTs - one of them "hangs"
The best way to avoid this problem is to use Oracle Sequences so that no two sessions can generate the same primary key. If you can not rewrite for this and you are using OCI you can specify that any DML statement uses NO WAIT, but this flag is only available from OCI.
Regards
David Russell
Received on Tue Nov 25 1997 - 00:00:00 CST