We have ported a Progress application to the Oracle
dataserver.
When creating a record a trigger fires to get a unique number. This is done
by a find last .... exclusive-lock of the table. But for Oracle this
exclusive-lock is translated to a share-lock. So if two users at the same
time create a record, a 5032 error message occurs(unique constraint
violated). Putting a validate or release after the find is not a solution.
What kinds of solutions do you have to solve this?
-peter
---------------------------------------------------------
Get your free Progress v9 stuff at http://www.v9stuff.com
---------------------------------------------------------
Certified Progress Solution Designer http://www.walvis.nl
Home page: http://home.kabelfoon.nl/~prvdam/progress.htm
Official BDK Partner Standard disclaimers apply
dataserver.
When creating a record a trigger fires to get a unique number. This is done
by a find last .... exclusive-lock of the table. But for Oracle this
exclusive-lock is translated to a share-lock. So if two users at the same
time create a record, a 5032 error message occurs(unique constraint
violated). Putting a validate or release after the find is not a solution.
What kinds of solutions do you have to solve this?
-peter
---------------------------------------------------------
Get your free Progress v9 stuff at http://www.v9stuff.com
---------------------------------------------------------
Certified Progress Solution Designer http://www.walvis.nl
Home page: http://home.kabelfoon.nl/~prvdam/progress.htm
Official BDK Partner Standard disclaimers apply