Layz Loaded @Lob Entity Attribute Cannot Be Fetched After Entity Is Found In The Cache (Doc ID 1560985.1)

Last updated on JULY 29, 2017

Applies to:

Oracle TopLink - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

An entity is composed of a @Lob attribute (lazyResume)  which is lazily loaded :

Using TopLink Grid 11.1.1.4.0 ,  the 'lazyResume' attribute cannot be fetched with the following sequence:

1. In the initial fetch against cold cache, the lazy @Lob attribute is not triggered. And, the entity is put to cache.
2. In the subsequent fetch against warm cache, the lazy @Lob is fetched as null and cannot be retrieved.

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