TopLink Grid Coherence POF Config Issue With Map Of ElementCollection (Doc ID 1569566.1)

Last updated on AUGUST 16, 2016

Applies to:

Oracle TopLink - Version 11.1.1.4.0 and later
Information in this document applies to any platform.
affects usage of Toplink Grid, i.e. context when Toplink entities are put into Coherence cache

Symptoms

An Entity Trade has the following element collection (attribute name)

 

The Map is having Language as a key which is an entity.

As ElementCollection collection does not have its own cache, so read/writeExternal methods have been added in order to put the map to the cache.

Therefore, the Language entity is stored in Trade cache, and the Language entity will be also  stored in cache as ElementCollection of the Trade entity.

Finally, Language entity is stored in the cache redundantly.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms