Ensures only one instance of a bean is used according to its type and unique id.
PersistenceContext lives on a Transaction and as such is expected to only have a single thread accessing it at a time. This is not expected to be used concurrently.
Duplicate beans are ones having the same type and unique id value. These are considered duplicates and replaced by the bean instance that was already loaded into the PersistanceContext.
|
|
|
|
|
|
|
|
|
|
|
|
|
|