A method, a system, an apparatus, and a computer program product are
presented for reducing synchronization waits when unique sequential
identifiers are being allocated for transactions committed to a database
that are occurring in a multi-threaded server environment. A
transactional object containing an identifier data item is created for a
transaction in an object-oriented environment. A pre-process object is
then generated that contains the transactional object; when subsequently
processed, the pre-process object allocates a sequential identifier value
for the identifier data item. The pre-process object is added to a list
of pre-process objects that are to be processed prior to completing the
transaction, such as committing the transaction to a database. After some
initial business logic processing, a commit operation for the transaction
is commenced during which the pre-process object is processed, thereby
allocating a sequential identifier value for the identifier data item
just prior to committing the transaction.