synchronized insert operation in DefaultTransactionService to prevent key constraint violations in multi threaded environments