My Oracle Support Banner

HDR IMP Messages Failing when using Multiple Threads (Doc ID 2934382.1)

Last updated on FEBRUARY 02, 2024

Applies to:

Oracle Healthcare Data Repository - Version 8.1.3 and later
Information in this document applies to any platform.

Symptoms

Oracle Healthcare Data Repository (HDR) version 8.1.3

ACTUAL BEHAVIOR
----------------------

When submitting messages to HDR IMP while having two simultaneous threads running, 1/2 the messages will fail.

Error
-----------------------
HDR_OBJECT_ALREADY_MODIFIED_ERROR: HDR_CPS_V005:Entity null is modified by another transaction. Please re-try the current transaction.
UNEXPECTED_RIM_EXCEPTION: Exception [EclipseLink-5011] (Eclipse Persistence Services - 2.6.7.v20190604-418f1a1c56): org.eclipse.persistence.exceptions.OptimisticLockException
Exception Description: One or more objects cannot be updated because it has changed or been deleted since it was last read


STEPS
-----------------------
The issue can be reproduced with the following steps:
1. Execute the program while having two simultaneous threads running.
2. Noticed half of the messages will fail.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.