Hi Marcel,

On Wed, Jul 13, 2016 at 2:40 AM, Marcel Reutegger <[email protected]> wrote:
> Hi,
>
> On 08/07/16 06:20, "Woonsan Ko" wrote:
>>In my debugging, it hits
>>org.apache.jackrabbit.core.value.BLOBFileValue#getDataIdentifier()
>>when retrieving a binary value. The method is hard-coded to return
>>null. Maybe I missed something...
>
> Only Binary objects served from a DataStore have an identifier.
> Smaller binaries are usually inlined by the PersistenceManager.
> IIRC the threshold is 4k. Maybe your test creates binaries smaller
> than this threshold?

I guess I already checked that possibility and made sure on binary
from DataStore at the moment.
But it reminds me of the possibility to put a debugger to see how
PersistenceManager passes the DataIdentifier to DataStore through the
stack trace.
I'll take a look again later and let you know if I find anything interesting.

Thanks,

Woonsan

>
> Regards
>  Marcel
>

Reply via email to